go ahead... be a heretic | |
PerlMonks |
Re: Use of uninitialized value in concatenation (.) or stringby KPeter0314 (Deacon) |
on May 20, 2003 at 14:48 UTC ( [id://259473]=note: print w/replies, xml ) | Need Help?? |
Japhy is right, initialization is the key.
I sheepishly admit I come from the old school where declaring variables is necessary. A sideline from starting as a COBOL, RPG, and Transact programmer. It became a habit and use strict; requires it. See Perldoc strict for more info. This will get you there: Add other variables inside the parens to initialize them too.
-Kurt
In Section
Seekers of Perl Wisdom
|
|