Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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
    ("barney", "homer", "fred")
    23:08 >

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011266]
[TStanley]: I'm sitting in the airport in Tampa, Florida at the moment, getting ready to head home.
[talexb]: TStanley I'm flying to Vegas in two weeks time. After that flights leaving Vegas and Phoenix are late at night .. I've been hearing that it gets so hot that the air isn't dense enough for planes to take off. Weird. Guess you won't have that problem.
[Corion]: Yay, vacation time now - one week off work (but a Perl workshop in the middle ;)) )

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-06-23 14:15 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (548 votes). Check out past polls.