use Cwd; print cwd . "\n"; #### perl -S cwd.pl #### perl -e 'print `perl -S cwd.pl`'