Reply to comment

You can use Perl map

Also you can use the Perl map operator:

map { print "$_\n" } @ARGV;

instead of:

foreach $argnum (0 .. $#ARGV) {
  print "$ARGV[$argnum]\n"; 
}

Reply

The content of this field is kept private and will not be shown publicly.