Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 a soft breeze sighs...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-10-23 21:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (285 votes). Check out past polls.

    Notices?