Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: hash from CSV-like structure

by jZed (Prior)
on Jan 05, 2008 at 19:06 UTC ( #660559=note: print w/ replies, xml ) Need Help??


in reply to Re^2: hash from CSV-like structure
in thread hash from CSV-like structure

To avoid undef warnings, you might want to make the duplicate check more like this:

next if $results{$val} and $hash->{$key1} and $hash->{$key1}->{$key2};


Comment on Re^3: hash from CSV-like structure
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2014-07-29 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls