in reply to Is any simple way to get the current directory name?
print $ENV{PWD},"\n"; chdir("..") print $ENV{PWD},"\n"; [download]