I installed Strawberry, and installed a module via CPAN. The latter stored the module in "C:/Users/My_Name/l5/lib/perl5" However,when I run the script, it cannot find it as @INC only contains "strawberry/perl/site", "strawberry/perl/lib" and "strawberry/vendor/lib"
I THINK I could add "use lib 'path_to_perl5' in each script ... but that could cause confusion if I forget to remove it before uploading to the online server.
So is there a way - on Windows7 - to add the path PERMANTELY to the @INC array?, (similar to the way you can add items to the Apache vhost file)
In reply to Strawberry, CPAN and PERL5 by cristofayre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |