in reply to Finally, a $& compromise!

Excellent! Well done.

I don't suppose you could pragmatize $` and $' too, whilst you were at it?

;-)

Replies are listed 'Best First'.
Re: Re: Finally, a $& compromise!
by japhy (Canon) on Nov 28, 2001 at 11:53 UTC
    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:??;

      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!