Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: To initialise or not to initialise?

by qq (Hermit)
on Jun 24, 2004 at 21:12 UTC ( [id://369488]=note: print w/replies, xml ) Need Help??


in reply to To initialise or not to initialise?

I with the camp that says don't initialize.

That said, however, I'm constantly annoyed by the 'use of uninitialized ...' warning, usually when I'm interpolating a variable that I'm well aware might be undefined. It has to be the warning that I most often don't care about, and my code often grows constructs just to avoid it, which always looks ugly.

qq

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-19 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found