Those of you trying to get the proper modules installed you may find this little program handy. I found this at Gossamer Threads about two years ago, knowing that some day I might need it.
Then along comes fastforward with his modules dependent marvelous Perl wizardry, and I just smiled and said "I think I can handle this, now where did I put that little program?."
Save this code as a .cgi file (modules.cgi or whatever) then upload to your cgi-bin and call it with your browser.
Example:
http://www.mis-forums.com/cgi-bin/modules.cgi
Code:
#!/usr/bin/perl
# uncomment the line below if you have installed any modules locally
# change the line to reflect your server settings
# use lib "/path/to/my_modules/lib/perl5/site_perl/5.005";
use strict;
use File::Find;
my (@mod, %done, $dir);
find(\&get, grep { -r and -d } @INC);
@mod = grep(!$done{$_}++, @mod);
foreach $dir (sort { length $b <=> length $a } @INC) {
foreach (@mod) { next if s,^\Q$dir,,; }
}
print "Content-type: text/html\n\n";
foreach (@mod) { s,^/(.*)\.pm$,$1,; s,/,::,g; print "$_<br>\n"; }
print "Done! ($#mod modules!)\n\n";
sub get { /^.*\.pm$/ && /$ARGV[0]/i && push @mod, $File::Find::name; }
Cheers!
-Larry