On Sep 13, Bradshaw, Brian said:

>while (%result = $finalSet->fetchhash())
>{ 
>  push @arr_DBanswers, values %result;
>}

That code looks fine.  You might want to use 'my' on the %result hash,
since you don't need it existing later.

  while (my %result = $finalSet->fetchhash()) {
    push @arr_DBanswers, values %result;
  }

(P.S. where is your McGraw-Hill office?  My dad works on 34th St. in NYC.)

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **


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

Reply via email to