in reply to Re: Re: Re: my versus our in nested regex
in thread my versus our in nested regex

So it would seem that castaway could trivially implement strict compliant code without all the so-called bother that thus ensues:
#!/usr/bin/perl -w use strict; 1 =~ m{(?{{ $foo = 42; $bar = 2; print $foo * $bar, "\n"; }})};
;)

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: my versus our in nested regex
by BrowserUk (Patriarch) on Oct 18, 2003 at 18:40 UTC

    Indeed! ++

    I bet that's one use of a regex that won't make it into the next edition of japhy's book:)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    Hooray!