in reply to Perl module installing at server
G'day james786,
Welcome to the monastery.
It sounds like you could have more than one version of Perl installed. It's /usr/bin/perl that can't find String.pm; do you have another /some/path/to/perl on your system?
Try running:
which perl
from the command-line. Does that show /usr/bin/perl or something else?
How did you install String? There's normally some messages indicating where a module's files are being installed to. Do you have a log or history of that? Try using find to locate the path to String.pm.
Try running:
/usr/bin/perl -e 'use String; print "$String::VERSION\n";'
from the command-line. Do you get the same messages? Is the output showing the same version you installed? Do you get the same results with these:
perl -e 'use String; print "$String::VERSION\n";' /some/path/to/perl -e 'use String; print "$String::VERSION\n";'
How are you running your web application? Perhaps there's a configuration issue; have you checked this?
Did you undertake any troubleshooting yourself before posting here. If so, what were the results?
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl module installing at server
by james786 (Initiate) on Aug 19, 2013 at 09:43 UTC | |
by Anonymous Monk on Aug 19, 2013 at 10:17 UTC |