![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: Processing lines after a pattern in a while loopby ysth (Canon) |
on Apr 05, 2004 at 16:37 UTC ( #342677=note: print w/replies, xml ) | Need Help?? |
.. in scalar context is a flipflop operator that does what you describe like this:
It works by returning true once the first condition is met (where the constant 1 here is implicitly compared to the current input line number) and continues to return true until the second condition is met. See perldoc perlop for more information.
In Section
Seekers of Perl Wisdom
|
|