The current working directory of a program executed by your web server is probably not what you expect. You may need an absolute path in your use lib line. You can use Cwd to figure out the current working directory of your script in both environments.
In reply to Re: Strange problem when I install CPAN module to my own directory
by chromatic
in thread Strange problem when I install CPAN module to my own directory
by iwanthome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |