in reply to
Re: Runing Command
in thread
Runing Command
Yuck,
map
in void context.
:)
!/^\./ and $cnt++ for readdir( DIR );
And actually, I'd rather use a
grep
in scalar context:
$cnt = grep !/^\./, readdir DIR;
Makeshifts last the longest.
Comment on
Re^2: Running Command
Select
or
Download
Code
In Section
Seekers of Perl Wisdom