http://qs321.pair.com?node_id=475167


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

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: Most Annoying Error : Use of uninitialized value in concatenation (.) or string at C:\Perl\O
  • Download Code

Replies are listed 'Best First'.
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 11:11 UTC
    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.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^2: Most Annoying Error : Use of uninitialized value in concatenation (.) or string at C:\Perl\O
by Anonymous Monk on Sep 08, 2015 at 20:17 UTC
    Thank you so much - this helped me. I am just printing results of a split line & it doesn't matter if the value is null.
Re^2: Most Annoying Error : Use of uninitialized value in concatenation (.) or string at C:\Perl\O
by blackadder (Hermit) on Jul 15, 2005 at 10:59 UTC
    Thanks,...Can I ask why didn't you read my post?

    Blackadder
    A reply falls below the community's threshold of quality. You may see it by logging in.