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 sharing their wisdom with the Monastery: (6)
As of 2025-06-18 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.