Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $data_holder = "$writer :: $title :: $text";
Use of uninitialized value in concatenation (.) or string at reflectio +ns.cgi line 15 (#1) (W uninitialized) An undefined value was used as +if it were already defined. It was interpreted as a "" or a 0, but ma +ybe it was a mistake. To suppress this warning assign a defined value + to your variables. To help you figure out what was undefined, perl t +ells you what operation you used the undefined value in. Note, howeve +r, that perl optimizes your program and the operation displayed in th +e warning may not necessarily appear literally in your program. For e +xample, "that $foo" is usually optimized into "that " . $foo, and the + warning will refer to the concatenation (.) operator, even though th +ere is no . in your program.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: need help with error
by BrowserUk (Patriarch) on Nov 21, 2002 at 04:09 UTC | |
by Anonymous Monk on Nov 21, 2002 at 04:26 UTC | |
by BrowserUk (Patriarch) on Nov 21, 2002 at 04:37 UTC | |
|
Re: need help with error
by pg (Canon) on Nov 21, 2002 at 05:15 UTC | |
|
Re: need help with error
by dingus (Friar) on Nov 21, 2002 at 10:24 UTC |