Sorry for nitpicking, but ... :)
Flip/Flop solutions are state machines and do it in one pass.
I even demonstrated that you can safely nest them, hence the technology is "scalable".
The advantage of your solution is that it's easily portable to other languages, i.o.W. it ignores Perl's possibilities. ;-)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^2: Extract Block Of Text From Log
by LanX
in thread Extract Block Of Text From Log
by ImJustAFriend
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |