in reply to Re^2: help! Please please help!
in thread help! Please please help!
Maybe you can tell us what line 39 is?
If you want people to easily check your code, please edit your above node and put your code in between <code>...</code> tags. That way, it will render and download nicely for everybody.
It also often helps to supply example data with the program, or to reduce the program so it doesn't need any external data anymore yet still reproduces the problem.
As for your concrete problem, you seem to be confused about the data structure you have. The line
foreach my $type ( @{$rbl_list{$omr}{blackholes} })
tries to access the values in %rbl_list as a hash, but before that, you filled it with references to arrays. I find that using Data::Dumper often helps to visualize the data structure and to find where my assumptions about the data structure do differ from reality.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: help! Please please help!
by weezer316 (Initiate) on Mar 14, 2008 at 13:01 UTC | |
by amarquis (Curate) on Mar 14, 2008 at 14:29 UTC |