use Cwd;

my $currentdir = getcwd();
print "$currentdir";

