in reply to Re^2: The "<" in the grep block
in thread The "<" in the grep block
I agree that
does work, however, I think since "glob" can do the expansion, why not use@ARGV = map{glob} @ARGV; ....
see glob for detail.my @smaller_than_1000 = grep { -s $_ < 1000 } glob("@ARGV"); ....
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: The "<" in the grep block
by BrowserUk (Patriarch) on Sep 23, 2012 at 18:24 UTC |
In Section
Seekers of Perl Wisdom