Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^7: csv to hash table

by ig (Vicar)
on Nov 20, 2013 at 19:44 UTC ( [id://1063586]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $value = $hash{$key};
    
  2. or download this
        my $value = $hash_ref->{$key};
    
  3. or download this
    sub mainCSV
    {
    ...
        # Explicit scalar context 
        my $size = scalar keys %hash; 
    }
    
  4. or download this
    sub mainCSV
    {
    ...
        my $size = scalar keys %hash; 
        
    }
    
  5. or download this
    sub mainCSV
    {
    ...
        my $size = scalar keys %$hash_ref; 
        
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found