in reply to use lib in cgi env
Some meta-suggestions:
I suspect you didn't read what use lib actually does, otherwise you'd have a better idea what it was doing. It adds a directory path to @INC to provide Perl with additional locations for modules.
I expect you want
for development anduse lib '/home/user/test-workspace/trunk/modules';
for production.use lib '/home/user/webpage/modules/';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use lib in cgi env
by AlexTape (Monk) on Nov 05, 2012 at 15:37 UTC | |
by Corion (Patriarch) on Nov 05, 2012 at 15:41 UTC | |
by AlexTape (Monk) on Nov 05, 2012 at 15:50 UTC |