No such thing as a small change | |
PerlMonks |
Re^4: variable set to 0 ? 0 : 1by Aristotle (Chancellor) |
on Sep 08, 2002 at 05:18 UTC ( [id://195984]=note: print w/replies, xml ) | Need Help?? |
Oh, I use that quite frequently:
push @{ -d "$dir/$_" ? \@dir : \@file }, $_ for readdir DIR;
It's pretty much the only use I have for it, but it's a perfect match for that.
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|