I can't think clear no more.
This is a piece of the HTML view_succes sub:
# Go through each hit and convert the array to hash and send to
# html_record_short for printing.
for (0 .. $numhits - 1) {
&html_record_short (&array_to_hash($_, @hits));
}
I want to let the script check if there is only 1 hit first. If so the use &html_record otherwise &html_record_short But how i I do that???
Some help is appreciated, as always.
Jeroen
This is a piece of the HTML view_succes sub:
# Go through each hit and convert the array to hash and send to
# html_record_short for printing.
for (0 .. $numhits - 1) {
&html_record_short (&array_to_hash($_, @hits));
}
I want to let the script check if there is only 1 hit first. If so the use &html_record otherwise &html_record_short But how i I do that???
Some help is appreciated, as always.
Jeroen