P is for Practical | |
PerlMonks |
Re^2: Must have CLI of Perl's sed's n commandby LanX (Saint) |
on Jun 30, 2022 at 02:34 UTC ( [id://11145186]=note: print w/replies, xml ) | Need Help?? |
> Your formatting is kind of terrible, yep, that's one way to express it. > skip if the first line (next if $. == 1) If that's the goal (???) $.-1 is false for the first line only, he could && it with the flip-flop's start condition.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|