Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Shortcut operator for $a->{'b'}=$b if $b;

by polypompholyx (Chaplain)
on Sep 20, 2005 at 17:24 UTC ( #493531=note: print w/replies, xml ) Need Help??


in reply to Shortcut operator for $a->{'b'}=$b if $b;

It's slightly OT, but you probably want to avoid using $a and $b (even as metasyntax), as they are used in sort code blocks. As such, they are exempted from strict checking, and could introduce subtle bugs.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://493531]
help
Chatterbox?
and a moth chases the moon...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2016-12-05 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (94 votes). Check out past polls.