XP is just a number | |
PerlMonks |
Re: Finding first block of contiguous elements in an arrayby Arien (Pilgrim) |
on Dec 21, 2002 at 16:29 UTC ( [id://221640]=note: print w/replies, xml ) | Need Help?? |
Can anyone think of an elegant way to grab the first block of 1+ contiguous TITLE lines, and stop?
The elegance would be in not adding a flag but rather reusing $title for that purpose (since it already contains the state the flag would save). — Arien
In Section
Seekers of Perl Wisdom
|
|