in reply to How to move up 1 directory ?

use Path::Class; use autodie qw' chdir '; warn dir->parent; chdir dir->parent; __END__ .. at - line 3.