There's more than one way to do things | |
PerlMonks |
Re: Regxp: signaling when to stopby Zaxo (Archbishop) |
on Jun 20, 2007 at 15:09 UTC ( [id://622277]=note: print w/replies, xml ) | Need Help?? |
If your idea is sufficient, here's how to do it: assuming that $_ contains the line you're parsing. If whitespace is inconsistent, you can canonicalize it with, before applying the match. After Compline,
In Section
Seekers of Perl Wisdom
|
|