Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Most Annoying Error : Use of uninitialized value in concatenation (.) or string at C:\Perl\O

by dbwiz (Curate)
on Jul 15, 2005 at 07:11 UTC ( [id://475176]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Most Annoying Error : Use of uninitialized value in concatenation (.) or string at C:\Perl\O
in thread Most Annoying Error : Use of uninitialized value in concatenation (.) or string at C:\Perl\O

I didn't read your post

Perhaps you should have.

its not an error. It's a warning!

That's right. It's a warning that is telling the OP that something might be wrong.

By telling him to blindly remove the warning, you are removing the only clue he might have to find out why the program did not behave as expected.

The right thing to do in these cases is to either inspect the data or apply tome sanitizing methods to make the data consistent.

  • Comment on Re^2: Most Annoying Error : Use of uninitialized value in concatenation (.) or string at C:\Perl\O

Replies are listed 'Best First'.
Re^3: Most Annoying Error : Use of uninitialized value in concatenation (.) or string at C:\Perl\O
by blazar (Canon) on Jul 15, 2005 at 07:20 UTC
    Did you notice that I wrote "if you're really sure 'bout what you're doing" in strong tags?!? I have strict and warnings turned on all the time. But that's the single warning that every now and again can be safely turned off locally.

    Did you also notice that I specifically instructed him to do that in a lexical scope with a code sample suggesting to do that around a single line of code?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://475176]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.