WTF use external commands for something perl implements with native calls?
opendir DIR, "." or die "$!"; foreach my $dir (grep { -d $_ } readdir DIR) { # Do something with $dir } closedir DIR;
Using File::Find might be an option too
In reply to Re: Execute Perl Under Cygwin in Windows!!! Help!!!
by Tux
in thread Help me to run linux command in windows
by powersakthi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |