If you just want to do something in the script's current directory, you could use __FILE__
use File::Basename qw(dirname); my $cwd = dirname(__FILE__);
In reply to Re: mod_perl's cwd not the same as the scripts location.
by lestrrat
in thread mod_perl's cwd not the same as the scripts location.
by OnionKnight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |