Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Finally, a $& compromise!

by TheDamian (Vicar)
on Nov 28, 2001 at 11:41 UTC ( [id://128012]=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://128012]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-29 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found