Better,push @INC,"./";
is even better.use lib "./";
Update: use lib "./" is worse than unshift @INC,"./" because it also prepends "./" to the search path, but does so at compile time, where it can affect other use statements.use lib /some/absolute/path/that/you/control;
In reply to Re^2: use lib './' security safe?
by hbo
in thread use lib './' security safe?
by SavannahLion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |