One of the vars in the print are empty or equal to "".
to ignore this for just that line use this unless all the vars are supposed
to have something in them.

{
no warnings 'uninitialized';
print "$trd Driver ID:</td><td>$columns[19] -- $drvname</td></tr>";
}


> -----Original Message-----
> From: Scott Taylor [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 11:17 AM
> To: [EMAIL PROTECTED]
> Subject: Use of uninitialized value in concatenation (.)
> 
> 
> When I put the -w switch on I get this error:
> Use of uninitialized value in concatenation (.) at 
> /var/www/cgi-bin/ticket.cgi line 71:
> 
> on this line:
> print "$trd Driver ID:</td><td>$columns[19] -- $drvname</td></tr>";
> 
> Can anyone point out my mistake?
> It still runs but fills up my error_log
> and I do have the variables initialized before the loop:
> my $trd = "<tr><td bgcolor=white align=right>";
> my $drvname;
> my @columns;
> 
> 
> --
> Scott Taylor
> Systems Administrator
> DCT Chambers Trucking Ltd.
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


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

Reply via email to