|
|
Choosing A Webhost: |
Re: H::T filters: msg#00024lang.perl.modules.html-template
> --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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Radio button question, Jason Purdy |
|---|---|
| Next by Date: | Script under mod_perl occasionally gets garbage opening template, Andy Pearce |
| Previous by Thread: | Re: H::T filters, Timm Murray |
| Next by Thread: | Nested loop puzzle - variable columns and rows, LDT |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |