Another way is to use FindBin instead of $0, e.g
or the like.use FindBin; use File::Spec; my $path = File::Spec->catdir($FindBin::Bin, "..");
Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"
In reply to Re: Current Directory
by strat
in thread Current Directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |