| List: | MySQL and Perl | « Previous MessageNext Message » | |
| From: | Jochen Wiedmann | Date: | October 17 2003 5:04am |
| Subject: | Re: Unitialized value in string | ||
| View as plain text | |||
Dan Jones wrote: > Use of uninitialized value in join or string at ./printtables.pl line > 19. Most probably you have NULL values in your table, which are translated to nulls. Try replacing print "@$column\n"; with print join("", map{defined($_) ? $_ : ""} @$columns), "\n"; Jochen P.S: And do not forget to 'use "strict"' :-)
| Thread | ||
|---|---|---|
| • Unitialized value in string | Dan Jones | 17 Oct |
| • Re: Unitialized value in string | Jochen Wiedmann | 17 Oct |
