Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Annoying 'Use of uninitialized value in concatenation' warning

by JavaFan (Canon)
on Oct 26, 2011 at 11:59 UTC ( [id://933868]=note: print w/replies, xml ) Need Help??


in reply to Re: Annoying 'Use of uninitialized value in concatenation' warning
in thread Annoying 'Use of uninitialized value in concatenation' warning

The reason for having a warning about this is that while undef is a perfectly valid value for a variable, it has no textual representation.
Bullshit.

There are also characters that have no textual representation, and using them doesn't warn.

Note that the warning from the OP isn't even about printing - it's about concatenation. There's a perfectly good reason why most operations warn if one of its operands is undefined, but having no textual representation isn't that reason.

  • Comment on Re^2: Annoying 'Use of uninitialized value in concatenation' warning

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://933868]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found