Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by Codon (Friar)
on Sep 20, 2005 at 16:35 UTC ( #493509=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $a = {
        map {
    ...
                : ()
        } qw(a b c)
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://493509]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-03-29 17:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (352 votes). Check out past polls.