We don't bite newbies here... much | |
PerlMonks |
Re^6: Suggestion for regular expression speed improvement.by moritz (Cardinal) |
on Jun 15, 2009 at 14:34 UTC ( [id://771668]=note: print w/replies, xml ) | Need Help?? |
Make your system handle the various cases. A regex, a split, an unpack, maybe even an xml parser.... I agree. The simplest solution is to make the caller supply a code reference, which you then call and which does the parsing/matching/unpacking/whatever.
In Section
Seekers of Perl Wisdom
|
|