List:MySQL and Perl« Previous MessageNext Message »
From:Jeremy Zawodny Date:November 12 2001 9:57pm
Subject:Re: uninitialized value in concatenation
View as plain text  
On Mon, Nov 12, 2001 at 04:30:53PM -0500, W  P wrote:
#>
> i'm just getting started, learning about DBM and such, and i can't
> figure out what is wrong with this snippet of code.  it says that
> there is "use of an uninitialized value in concatenation (.) at line
> 35.  thank you in advance for helping.  code:
> 
> 33 while(@row = $sth->fetchrow_array)
> 34 {
> 35    foreach $re (@row) { print $re . "\t"; }
> 36    print "\n";
> 37 }

It means that the value of $re was null (undef in Perl).

Jeremy
-- 
Jeremy D. Zawodny, <jzawodn@stripped>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878   Fax: (408) 349-5454   Cell: (408) 685-5936

MySQL 3.23.41-max: up 67 days, processed 1,490,543,634 queries (254/sec. avg)
Thread
uninitialized value in concatenationW  P12 Nov
  • Re: uninitialized value in concatenationJeremy Zawodny12 Nov