![]() |
|
more useful options | |
PerlMonks |
Re^2: I heart Perlby chargrill (Parson) |
on Feb 15, 2006 at 16:17 UTC ( #530430=note: print w/replies, xml ) | Need Help?? |
I'm still puzzling through how japhy got from perlre's definition of (?{ ... }) to his use of it... but I can at least demonstrate what's happening. I've simplified the string a little, as japhy's regex eliminates whitespace, but the meat of what's happening is this:
I've left the print statement so the reader can better see the translation. Output (truncated):
Very nice! This will certainly inspire me to wrap my head around this use of (?{...}) a bit better. Or a lot better :) --chargrill
In Section
Obfuscated Code
|
|