Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Creating members of hash of hashes parallelly

by utku (Acolyte)
on Jan 07, 2007 at 13:04 UTC ( [id://593390]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Creating members of hash of hashes parallelly
in thread Creating members of hash of hashes parallelly

Sorry, it was a mistake of my code.

For HoHoH solution, if I use my own dump routine instead of Dumper:

foreach $path ( keys %db_hash ) { print "List for $path...\n"; foreach $index ( keys %{ $db_hash{$path} } ) { print "END: ", $db_hash{$path}{$index}{END}, "\n"; } }
then following comes to stdout:
Use of uninitialized value in print at ./utk.pl line 66, <FH> line 246 +99. Use of uninitialized value in print at ./utk.pl line 66, <FH> line 246 +99.
line 66 is the line of "print END" routine. In this case,
$db_hash{$path}{$index}{END}
tries to access
$db_hash{$path}{'index'}{END}
... which does not exist anyway. It was a mistake that I did not use the Dumper.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-20 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found