my $dir = "my/favorite/dir"; $f->cwd($dir) or die "Can't cwd to $dir\n";