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"); ....
In reply to Re^3: The "<" in the grep block
by 2teez
in thread The "<" in the grep block
by vagabonding electron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |