#!/usr/bin/perl use strict; use File::Find; my @foundmods; my %found; my (@mod1, @mod2); print "Content-type: text/html\n\n"; my $perl_version = sprintf("%vd", $^V); # human readable version of $] print qq~
| Program Paths | |
|---|---|
| Perl Version | $perl_version |
| Perl Executable | $^X |
| PERL compile version OS | $^O |
| Location of Perl | ~;
foreach my $location (split ' ', `whereis perl`) {
print "$location \n"; } print qq~ |
| Location of Sendmail | ~;
foreach my $location (split ' ', `whereis sendmail`) {
print "$location \n"; } print qq~ |
| Directory locations searched for perl executables | ~;
foreach my $location (@INC) {
print "$location \n"; } print qq~ |
| Environment Variables | |
|---|---|
| $var | $ENV{$var} |
| Installed Perl Modules | |||||
|---|---|---|---|---|---|
|
|
| |||