On Sun, Aug 05, 2001 at 04:39:44PM -0400, Mike Rapuano wrote:
> I'm just a beginnner BUT why not use HashRef for the @hits array to make
> all data going to sub sonic a scalar values
>  
> Then sub sonic would be...
>  
> sub sonic
> {
>     my ($numhits, $maxhits, $hits) = @_;
>     ...
> }

Certainly.  I mentioned that possibility in my first message, and this
is especially useful if @hits is big.  It would be an array reference of
course rather than a hash reference.

> YOu would just need to deference the reference.

Quite.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to