in reply to Re^5: Suggestion for regular expression speed improvement.
in thread Suggestion for regular expression speed improvement.
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