- or download this
#!/usr/bin/perl -l
use strict;
...
@ARGV = map{glob} @ARGV;
my @selection = grep { -s < 1000 } @ARGV;
print for @selection;
- or download this
Warning: Use of "-s" without parentheses is ambiguous at script.pl lin
+e 7.
Unterminated <> operator at script.pl line 7.
- or download this
#!/usr/bin/perl -l
use strict;
...
@ARGV = map{glob} @ARGV;
my @selection = grep { (-s) < 1000 } @ARGV;
print for @selection;
- or download this
my @smaller_than_1000 = grep { -s < 1000 } @ARGV;