Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: How to save first two columns of an array into another array

by zing (Beadle)
on Oct 02, 2012 at 14:05 UTC ( #996863=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %h;
    my @a = map { [@{ $_ }[0]] } @S;
    ...
    print Dumper(%h);
    print "or\n";
    print Dumper(\%h);
    
  2. or download this
    $VAR1 = {
              'ARRAY(0x8411210)' => [
    ...
                                      'c'
                                    ]
            };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996863]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-12-21 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls