NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
A more natural way? (Score:1)
Do you really need a deferred pattern there? I’d write it like so:
(which of course implies variables rather than constants.)
Now given that, you get a zero-length match:
So obviously a match against the lone dot was prevented, but
$QUOTEDsucceeds in matching nothing.Okay then.
Result:
Well, I never. That’s what we wanted!
Reply to This