RE: on returning subroutine arguments

2001-08-09 Thread Birgit Kellner
--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

RE: on returning subroutine arguments

2001-08-09 Thread John Edwards
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));} -Original Message- From: Birgit Kellner [mailto:[EMAIL PROTECTED]] Sent: 09 August 2001 15:36 To: [EMAIL PROTECTED] Subject