in reply to Re: use lib './' security safe?
in thread use lib './' security safe?
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;
|
|---|