Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: help! Please please help!

by amarquis (Curate)
on Mar 14, 2008 at 12:56 UTC ( [id://674195]=note: print w/replies, xml ) Need Help??


in reply to Re^2: help! Please please help!
in thread help! Please please help!

The issue is that you are trying to access an array element like a hash element. You put array refs into a hash here:

$rbl_list{$ip} = \@listed_by;

And later access like this:

@{$rbl_list{$omr}{blackholes}

$rbl_list{$omr} is an array ref, so $rbl_list{$omr}{blackholes} is like saying $arrayref->{$somekey}. (You also probably want $blackholes not the bareword blackholes)

Edit: I am undone by corion's speed.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found