in reply to -n and -p suck up ARGV no matter what

This is perl, be very careful of saying "no matter what".

echo -e "one\ntwo\nthree" | perl -ne 'INIT{$tmp = shift} print "$tmp - +> $_"' 42

Replies are listed 'Best First'.
Re^2: -n and -p suck up ARGV no matter what
by mpersico (Monk) on Oct 22, 2016 at 03:01 UTC
    I knew someone would take that as a challenge. :-) Thank you.