"be consistent" | |
PerlMonks |
Re: use of uninitialised valueby friedo (Prior) |
on Mar 07, 2005 at 18:32 UTC ( [id://437282]=note: print w/replies, xml ) | Need Help?? |
Perl optimizes things like "$upload_dir/$filename" to $upload_dir . '/' . $filename, which is why the warning is complaining about the concatenation operator. One of those variables is not initialized. Try printing them to see which one it is. You've probably got a typo somewhere. If one of them is supposed to be empty in some circumstances, make sure it's set to the empty string ("") instead of remaining uninitialized.
In Section
Seekers of Perl Wisdom
|
|