Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: Uninitialized Value Warning

by bobn (Chaplain)
on Oct 22, 2003 at 22:30 UTC ( #301407=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Uninitialized Value Warning
in thread Uninitialized Value Warning

It's not null. Null is a value (or at least the specific absence of one). It's uninitialized - there's never been a value assigned, and although Perl will try to do the right thing and assume 0 in numeric context or the empty string in string context, it really is just what it says: uninitialized.

Update: Just remembered, some DBs use Null the way you did, I think.

--Bob Niederman, http://bob-n.com

All code given here is UNTESTED unless otherwise stated.

  • Comment on Re: Re: Re: Uninitialized Value Warning

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://301407]
help
Chatterbox?
[PriNet]: go figure, i just tried that, it retains some of the values (not the key) of the pre-assigned value
[PriNet]: i guess i'll just have to use two seperate hashes, there are two, but one is larger than the other, and when i reference the smaller one, it holds onto the values that were assigned to the larger hash (the keynames change, but unless i reassign a new valu

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2017-06-28 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (619 votes). Check out past polls.