use strict; use warnings; use Cwd; my $dir=getcwd; say $dir;
...works as documented under 5.16 and W7. It's likely you erred somewhere in your code. Note the first two lines of the snippet above.
In reply to Re^5: listing all files of a dir
by ww
in thread listing all files of a dir
by torres09
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |