|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Re: Re: •Re: Find illegal ASCII charactersby Juerd (Abbot) |
| on Mar 08, 2002 at 20:05 UTC ( #150411=note: print w/ replies, xml ) | Need Help?? |
|
I was going to answer something like that, but forgot all about it. In the meantime, I've read (once again) some parts of CGI.pm, and found these interesting regexes:
That's at least 9 uses of /o with no variable interpolation in the pattern. But CGI also doesn't use strict, has no spaces after commas, uses C-style for-loops where lists where more efficient and better readable, assumes that the IP address "0" equals "127.0.0.1", has ugly #-laden comments, etc... So is the use of /o really more efficient when no variable interpolation is used, or is this yet another strange thing in CGI.pm. (Excuse me for being so negative about CGI.pm, but having read it, I prefer my own set of functions even more.)
In Section
Code Catacombs
|
|
||||||||||||||||||||||||