The stupid question is the question not asked | |
PerlMonks |
Re: move down 2 lines in file?by Lawliet (Curate) |
on Jul 11, 2008 at 15:56 UTC ( [id://696993]=note: print w/replies, xml ) | Need Help?? |
Hmm, not sure about this method, but it works in theory.
I am not sure if it should be the one I posted above or next if $. == 1 or if $. == 2 though. I have no time to check right now. (Also, I am not sure if it starts counting at 0 or 1. Change the numbers accordingly
<(^.^-<) <(-^.^<) <(-^.^-)> (>^.^-)> (>-^.^)>
In Section
Seekers of Perl Wisdom
|
|