Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: use warnings => Use of uninitialized value...

by davorg (Chancellor)
on May 24, 2006 at 10:00 UTC ( [id://551316]=note: print w/replies, xml ) Need Help??


in reply to Re: use warnings => Use of uninitialized value...
in thread use warnings => Use of uninitialized value...

That's one way to do it. Alternatively you can initialise $some_value when you define it.

my $some_value = '';

Or use many other techniques to ensure that it contains data before you try to use it.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-26 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found