in reply to Re^2: Use temporary file or cache
in thread Use temporary file or cache
my %comments; ... push @{$comments{$post_url}}, $comment;
And you can retrieve and iterate over the list of comments to an URL:
for my $c (@{$comments{$post_url}}) { print "$c\n"; }
|
|---|