A quick note.
Regexp::Assemble barfs on patterns containing ?{} in Perl 5.8.8 because of the error
Eval-group not allowed at runtime, use re 'eval' in regex m/.../. which is inside Assemble.pm in the _build_re routine's else clause. I didn't report this as a bug because under 5.8.8 you really should use the module's tracking feature, which contains the $^R workaround. Interestingly, modifying the module (I know, I know ;-) to add the
use re 'eval'; line in that else clause makes the error disappear, but the resulting regexp doesn't work. My production code finally anticipates Perl 5.10 and just joins the individual expressions with |, and with the
?{acct} at the ends like Ikegami said, and the speedup was phenomenal! It can only get better with 5.10 trie building, but I'm not quite ready to upgrade my server yet.
SSF
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.