in reply to Perl hashes revisit

Reading perlreftut and bookmarking References quick reference may be of use.

Replies are listed 'Best First'.
Re^2: Perl hashes revisit
by perlpreben (Beadle) on Feb 14, 2009 at 20:25 UTC
    OK and update... this worked:
    for my $key (keys %{$conn->tcp_connection->window->{dest}}){ my $cb = ${$conn->tcp_connection->window->{dest}}{$key}; print $cb->{src_port} . "\n\n\n"; }
    The reason is that it as far as i can tell, loops through .. and enumerates the name of the value after dest. This is the first in the loop above. But is the a way i can say .... use first instance ... insted of looping through it ???