Re: Use of uninitialized valued in concatenation....

2003-08-27 Thread Perrin Harkins
On Fri, 2003-08-22 at 17:23, B. Fongo wrote: > I have a file (output_tab.pm) that I use to generate tables > dynamically. Even though it serves its purpose, it goes on generating > this error: > > “Script_name.pl: Use of uninitialized value in concatenation (.) or > string at output_tab.pm line 42

Re: Use of uninitialized valued in concatenation....

2003-08-25 Thread Josh Chamas
B. Fongo wrote: Hello I have a file (output_tab.pm) that I use to generate tables dynamically. Even though it serves its purpose, it goes on generating this error: “Script_name.pl: Use of uninitialized value in concatenation (.) or string at output_tab.pm line 42”. At line 42 of your output_ta

AW: Use of uninitialized valued in concatenation....

2003-08-23 Thread B. Fongo
those suggestions. Babs -Ursprüngliche Nachricht- Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Udo Rader Gesendet: Samstag, 23. August 2003 13:00 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: Use of uninitialized valued in concatenation Am Sat, 23 Aug 2003 09:48:05 + schrieb B.

Re: AW: AW: Use of uninitialized valued in concatenation....

2003-08-23 Thread Stas Bekman
Frank Maas wrote: On Sat, Aug 23, 2003 at 01:55:03PM +0200, Marcel Greter wrote: This is not a very good solution. You would also catch the case where $_ is 0, which may should not happen. You would better do Yes... I always fall into that pithole. I think this is because I find the 'defined(..

Re: Re: AW: AW: Use of uninitialized valued in concatenation....

2003-08-23 Thread Frank Maas
On Sat, Aug 23, 2003 at 01:55:03PM +0200, Marcel Greter wrote: > > This is not a very good solution. You would also catch the case where $_ > is 0, which may should not happen. You would better do Yes... I always fall into that pithole. I think this is because I find the 'defined(...) ? ... : ..

Re: Re: AW: AW: Use of uninitialized valued in concatenation....

2003-08-23 Thread Marcel Greter
-CUT-- my $val=$_||'NULL'; print qq($val); -CUT-- This is not a very good solution. You would also catch the case where $_ is 0, which may should not happen. You would better do foreach (@table_data) { $_ = defined $_ ? $_ : "NULL"; print qq($_); # Here is line

Re: AW: AW: Use of uninitialized valued in concatenation....

2003-08-23 Thread Udo Rader
Am Sat, 23 Aug 2003 09:48:05 + schrieb B. Fongo: > foreach (@table_data) > { > >print qq($_); # Here is line 42 > } as Frank already pointed out, your trouble is the uninitialized $_ value you have in line 42 (which is exactly what the warning tells yo

Re: AW: Use of uninitialized valued in concatenation....

2003-08-23 Thread Sreeji K Das
; subroutine. > > > > -Ursprüngliche Nachricht- > Von: Perrin Harkins [mailto:[EMAIL PROTECTED] > Gesendet: Samstag, 23. August 2003 00:10 > An: B. Fongo > Cc: [EMAIL PROTECTED] > Betreff: Re: Use of uninitialized valued in > concatenation > > On

Re: Use of uninitialized valued in concatenation....

2003-08-23 Thread Frank Maas
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 wro

AW: AW: Use of uninitialized valued in concatenation....

2003-08-23 Thread B. Fongo
-Ursprüngliche Nachricht- Von: Sreeji K Das [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 23. August 2003 11:10 An: B. Fongo; 'Perrin Harkins'; [EMAIL PROTECTED] Betreff: Re: AW: Use of uninitialized valued in concatenation Did u check what's in line #

AW: Use of uninitialized valued in concatenation....

2003-08-23 Thread B. Fongo
codes, you may have noticed that, I did pass 2 arguments to the subroutine. -Ursprüngliche Nachricht- Von: Perrin Harkins [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 23. August 2003 00:10 An: B. Fongo Cc: [EMAIL PROTECTED] Betreff: Re: Use of uninitialized valued in concatenation On

Use of uninitialized valued in concatenation....

2003-08-22 Thread B. Fongo
Title: Use of uninitialized valued in concatenation Hello I have a file (output_tab.pm) that I use to generate tables dynamically. Even though it serves its purpose, it goes on generating this error: “Script_name.pl: Use of uninitialized value in concatenation (.) or string at