use lib dirname($0) ; whats wrong with use lib '.'; ?
I guess the first adds to @INC the dir the script lives in and the second adds to @INC the dir the script was called from, i.e. user's current dir.
In reply to Re^2: Adding to @INC
by bliako
in thread Adding to @INC
by merrymonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |