Here's a CPAN module that will give you the current directory name. Or if you prefered not to install a module you can capture the output of the 'pwd' command with backticks:
my $dirpath = `pwd`;
If you are on Windows it appears that CPAN module is the better choice as it seems to have support for Windows. I don't know of a windows command that gets the current directory (though I don't use windows so there probably is and I just don't know about it.)
Hope that helps
Chris
In reply to Re: Physical location of a requested URI
by cfreak
in thread Physical location of a requested URI
by iq-0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |