in reply to How To Get The File's Directory?
use Path::Class; my $filedir = file(__FILE__)->absolute->dir; [download]