|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^3: Including filesby chacham (Hermit) |
| on Dec 09, 2011 at 13:24 UTC ( #942654=note: print w/ replies, xml ) | Need Help?? |
|
Let me get this straight:
moo.pl has:
When i execute moo.pl, . is set to ~/zyx, so:
Did i get it right that, basically, there is a difference between the "current" directory and the directory of the pl file. Or, put another way, if i keep all my project files in the same directory, like we do during development, and the directory may change, and the directory i execute it from may change, "use lib" will work "as expected".
In Section
Tutorials
|
|
||||||||||||||||||||||||