I have a sorted array that I want to use, but I don't want duplicates, though I am using the same array in a different part of the script where all must show. How can I do it only in this one place?
[tt]
foreach (@sorted) {
$_->[0] =~ tr/ /+/;
$_->[3] =~ tr/ /+/;
print "<li><a href=\"form.cgi?$data[0],$data[3],8\"><b>$type</b></a>\n";
}
[/tt]
Don
don@ctagroup.org
Experienced in HTML, Perl, VBScript, PWS, IIS and Apache. Run OS/2 Warp 4, BeOS v5 and Windows NT (only when I have to!)
[tt]
foreach (@sorted) {
$_->[0] =~ tr/ /+/;
$_->[3] =~ tr/ /+/;
print "<li><a href=\"form.cgi?$data[0],$data[3],8\"><b>$type</b></a>\n";
}
[/tt]
Don
don@ctagroup.org
Experienced in HTML, Perl, VBScript, PWS, IIS and Apache. Run OS/2 Warp 4, BeOS v5 and Windows NT (only when I have to!)