Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 the questions are moot...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-02-23 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (349 votes). Check out past polls.