Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Syntax explanation required

by Athanasius (Chancellor)
on Jan 02, 2013 at 13:10 UTC ( #1011266=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %hash3 = (%hash1, %hash2);
    my @uniq  = keys %hash3;
    
  2. or download this
    my @uniq = keys (%hash1, %hash2);
    
  3. or download this
    #! perl
    use Modern::Perl;
    ...
    my %hash2 = (homer => 'marge', fred   => 'wilma');
    my @uniq  = keys { %hash1, %hash2 };
    dd @uniq;
    
  4. or download this
    23:05 >perl 464_SoPW.pl
    ("barney", "homer", "fred")
    
    23:08 >
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011266]
help
Chatterbox?
LanX has a friend in Berlin who switched to go(lang) and just got a kid ...
[marto]: good morning all
[Corion]: Hi marto ;)
[Discipulus]: Corion ah! you opened a new search path! thanks
[choroba]: LanX No, but they grow and want more!
LanX was conditioned by a female
Discipulus my 'kids' always complain with our car..
[LanX]: true, cars are bad in growing
[marto]: WaitWindow()
[Corion]: Discipulus: You need to respond with 0 to WM_QUERYENDSESSION

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2017-01-17 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (154 votes). Check out past polls.