Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Syntax explanation required

by Athanasius (Monsignor)
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2014-09-17 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (66 votes), past polls