($cur_dir = $0) =~ s/$name_of_script//; [download]
In reply to Re: knowing the current directory by r3b3lxd in thread knowing the current directory by hotshot