Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: excel to hash

by Discipulus (Canon)
on Sep 13, 2017 at 17:05 UTC ( [id://1199337]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                                   # quotes needed even with fat comma or 
    +you get 1 instead of 001
    perl -MData::Dumper -e "%hash=('001'=>{Name=>'AAA'}); foreach $k (keys
    + %hash){$hash{$k}=$hash{$k}{Name}} print Dumper \%hash"
    ...
              '001' => 'AAA'
            };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-23 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found