in reply to Custom HOA printing

From *very* limited testing, the following seems like it *might* work:

print "<b>$key characters</b><br/>", join(", ", map{ '<a href="link.pl?=' . $_ . '">' . $_ . '</a>' } @{$hash{$key}} ), "<br/>" x 2;

(Translation: map() processes each element in @{$hash{$key}}, returning to the join() for each a value set to <a href="link.pl?=$_">$_</a> .)

Hope that helps.