> --Use of $_ should be avoided in modules. It's easy to screw up the > localization and clobber existing values of $_ in code higher up. This can > be solved either by using a regular variable, or by explicitly localizing it.
done > --When you create the string used to match tags, it will be faster to wrap > it in a qr// instead of a simple string. This will cause perl to compile > the regex once instead of repeatedly compiling it at runtime whenever the > string is interpolating into the s///. done In the process, I found: - a bug or two in the TMPL_SET code - I changed the way regex's work for case sensitivity, which should result in faster regex parsing. cheers, Mathew
Filters.pm
Description: Binary data