On Tue, 2004-09-14 at 14:40, Larry Wall wrote: > On Tue, Sep 14, 2004 at 02:02:22PM -0400, Aaron Sherman wrote: > : Of course, the regex itself can do this: > : > : qr{(fo*) ({$1 ne 'foo'})} > > Er, at the moment bare closures don't care about their return value, > so as it currently stands, you'd want something more like: > > rx/(fo*) {fail if $1 eq 'foo'}/
Dang, where's that Perl 6 compiler when I need it to clear up this sort of thing? ;-) Thanks for the correction. I notice I fell for the "qx" vs "rx" thing too. Heh, old habits die hard. -- â 781-324-3772 â [EMAIL PROTECTED] â http://www.ajs.com/~ajs