in reply to Re: Can perl do...?
in thread Can perl do...?
Just a few notes; instead of @_$[i-1] I think
you meant $_[$i - 1] Also, although it's
deprecated, split in void context splits into @_, so @_ can
sometimes have a "temporary" role. Lastly, while (<>) { ... }
doesn't assume that @ARGV contains only filenames; @ARGV may
also contain pipe commands.