Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by CountZero (Bishop)
on Sep 20, 2005 at 21:15 UTC ( #493603=note: print w/replies, xml ) Need Help??


in reply to Re^2: Shortcut operator for $a->{'b'}=$b if $b;
in thread Shortcut operator for $a->{'b'}=$b if $b;

And thereby logical false values do not get assigned, which is not as per the specs.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

  • Comment on Re^3: Shortcut operator for $a->{'b'}=$b if $b;

Replies are listed 'Best First'.
Re^4: Shortcut operator for $a->{'b'}=$b if $b;
by Roy Johnson (Monsignor) on Sep 20, 2005 at 22:21 UTC
    You should re-read the OP's post. It says "The point is to have no key 'b' exist if $b is false."

    Caution: Contents may have been coded under pressure.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://493603]
help
Chatterbox?
[marioroy]: I've always wondered the shortcut for metamod verus mod. It's simply metamod when making a link.
[Lady_Aleena]: You're welcome marioroy. There are a whole lot of linking shortcuts.
[marioroy]: Thank you Lady_Aleena. I've bookmarked the page.
[1nickt]: folks, would you say that 1.0 is an integer ?
[Lady_Aleena]: 1nickt, I wouldn't, but I'm not normal.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-05-24 18:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?