[jifty-devel] Janitorial: lib/Jifty/Request.pm
wolfgang at kinkeldei.de
Mon Mar 5 03:16:26 EST 2007
On 03.03.2007 at 11:06 Jesse Vincent wrote:
> On Mar 3, 2007, at 4:19 AM, Edgar Whipple wrote:
>> -- changed '\|' to '[|]' and '\?' to '[?]' in regexes.
> Hm. I don't actually find that more readable, but I'm flexible.
> Other folks?
in a recent talk on the german perl workshop, Yves Orton pointed out
that up to and including Perl 5.8 the '[|]' character class is far
less efficient than using literals like '\|'. This will change in
Perl 5.10., where single-character-containing character classes are
treated as literals.
This is an argument for me to prefer the literal syntax over using
' /\_/\ ' .print[split??,"".(($/=q|Cms)+-03467:;<=|)=~tr!C-z -B! -z!)x
'( o.o )' .$/]->[hex]foreach split qr<>,qq+1ecd039ad65b025b8063475b+||
' > ^ < ' .q<!-- Wolfgang Kinkeldei - mailto:wolfgang at kinkeldei.de -->
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2425 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070305/e0746fcb/smime.bin
More information about the jifty-devel