Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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};

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://660559]
help
Chatterbox?
[marioroy]: why do some posters not know to provide a good SSCCE? Nested loops?

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2017-08-18 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (297 votes). Check out past polls.

    Notices?