![]() |
|
more useful options | |
PerlMonks |
Re: Re: Re: undef'ing @arrays caveatby Kanji (Parson) |
on Apr 21, 2002 at 01:16 UTC ( #160830=note: print w/replies, xml ) | Need Help?? |
I was thinking of definedness in the defined sense, but after some testing I discovered something really bizarre: Calling defined on an array that was declared as empty versus one that had been populated and then later emptied returns different results!
I can reproduce the results under both 5.00503 and 5.6.1, but while I was ready to start screaming 'BUUUUUUUUGGG!', I then noticed 5.6.1 also spits out the following with warnings are enabled ...
Something to watch out for, I guess! --k.
In Section
Meditations
|
|