in reply to Complex Hash of Hashes Data Structure
If you are trying to count unique URLs for each $counter, try:push @{$hash{$counter}{url}}, "http://my.url.com";
$hash{$counter}{url}{$CurrentURL}++; # Auto-vivify and count
"For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Complex Hash of Hashes Data Structure
by Anonymous Monk on Jun 02, 2006 at 01:07 UTC |