in reply to Re: Finally, a $& compromise!
in thread Finally, a $& compromise!

They're part of the same deal. And I'm currently fixing the patch. Hugo suggests things be done a bit differently, and Jarkko agrees. (The big problem is PL_sawampersand is globally scoped...)

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Replies are listed 'Best First'.
Re: Re: Re: Finally, a $& compromise!
by TheDamian (Vicar) on Nov 29, 2001 at 01:31 UTC
    The big problem is PL_sawampersand is globally scoped

    Yes, I've been quiety following the thread in P5P. Yet another example of why global variables almost always turn out to be a Very Bad Idea, no matter how clever the programmer or how convenient they may seem at the time.

    Remember kids: Global variables - just say no!