in reply to Re: Processing lines after a pattern in a while loop
in thread Processing lines after a pattern in a while loop
Too bad this doesn't work, because it sure makes for a readable idiom:
The closest readable alternative that works seems to be:<DATA> until /^#cardtype/; while (<DATA>) { ... }
1 until <DATA> =~ /^#cardtype/; while (<DATA>) { ... }
--
[ e d @ h a l l e y . c c ]
|
|---|