Anonymous array of hashes question

2005-08-04 Thread jason_normandin
Hello I have a situation where I build an anonymous array of hashes for some requests and responses found in a file (there can be multiple requests and responses). It works very nicely and tracks all of the responses and requests from an ip to another IP address. Here is my code: my $time=$1

Anonymous array of hashes question

2005-08-04 Thread Jason Normandin
Hello I have a situation where I build an anonymous array of hashes for some requests and responses found in a file (there can be multiple requests and responses). It works very nicely and tracks all of the responses and requests from an ip to another IP address. Here is my code: my $time=$1 if

Re: Anonymous array of hashes question

2005-08-04 Thread Philipp Traeder
On Friday 05 August 2005 01:37, Jason Normandin wrote: [..] if ($protocol =~ /PING REQUEST/) { push @{$pingRequests{$destination}}, { time = $time, sequenceNumber=$sequenceNumber }; } elsif ($protocol =~ /PING RESPONSE/) { push

Re: Anonymous array of hashes question

2005-08-04 Thread John W. Krahn
Jason Normandin wrote: Hello Hello, I have a situation where I build an anonymous array of hashes for some requests and responses found in a file (there can be multiple requests and responses). It works very nicely and tracks all of the responses and requests from an ip to another IP