| CPAN Ratings Reviews by | |
| Home | Search | About | Bitcard Account | Login |
In web project you use web server document root as base location, but some scrips can work not in web server context and we must write, before use you modules:
use lib 'path_to_doc_root';
If you want move you project, or make additional development version you need change all this scripts, if you use ex::lib you can write
use ex::lib qw(../../../../../..);
and use you modules without thinking about real path
worldmind - 2009-01-29T04:31:00
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|