B. Fongo wrote:
> “Script_name.pl: Use of uninitialized value in concatenation (.) or
> string at output_tab.pm line 42”.

Perrin replied:
> This is a standard perl error message.  It is not related to mod_perl. 
> You can look in the perldiag man page for a more complete explanation.

B. Fongo wrote:
> It is not a standard perl error message. I went through mod_perl doc at
> http://perl.apache.org/docs/general/perl_reference/perl_reference.html#T
> racing_Warnings_Reports

I am sorry, but it *is* a standard Perl error message. It means exactly
what it says: you concatenated or stringify an undefined value. Looking
in your code (of which I do not know exactly where it starts, so line 42
is a bit of a guess) it can be either

           print qq(<td bgcolor='#d0d0d0'>$_</td>);
or
  print qq(<tr><td colspan=$columnspan
bgcolor='#d0d0d0'>&nbsp;</td></tr>);

In the latter case, please check $columnspan to be sure it is given a
defined value. For the first: you go through a list of tablerow values,
can it be that a value is NULL? This would be translated into undef and
hence raise this warning. Try to replace with

           my $val=$_||'NULL'; print qq(<td bgcolor='0#d0d0d0'>$val</td>);

--Frank


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to