in reply to Hash from mySQL
In that case, the following code:
is trying to treat %ref as a HOH. IMHO, the outer loop should look like:{foreach $port (@{$ref{$key}{'port'}})
for my $port (keys %ref){ my $host = $ref{$port}; # Process the $host/$port combo ...
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|