--On Donnerstag, 09. August 2001 15:49 +0100 John Edwards
<[EMAIL PROTECTED]> wrote:
> Try this, having put return $value at the end of sub_one
>
> my ($numhits, @hits) = @_;
> for (0 .. $numhits - 1) {
> $returnedValue = &sub_one(&array_to_hash($_, @hits));}
>
thanks - I had foolishly assumed t
ROTECTED]
Subject: on returning subroutine arguments
I have a script that prints out database records after a search operation.
For each hit in the database, it calls the subroutine sub_one to first turn
the record with the hit into a hash and then print out results in html.
Now, there's one
I have a script that prints out database records after a search operation.
For each hit in the database, it calls the subroutine sub_one to first turn
the record with the hit into a hash and then print out results in html.
Now, there's one of these hash values which I would then like to use in a