Re: print statement creates key in hash with reference to empty array??



"rhorizon74" <rhorizon74@xxxxxxxxx> wrote:
> Thanks for the help.
>
> That explains what is happening (i had used the exists approach to work
> around).
> But it does seem bogus that for a simple print statement i need to
> check each and every level. I havent seen too many languages do
> something like this (i may be wrong).

Right. Many languages would just seg-fault, or perhaps corrupt memory
and take down the entire system, instead.

> But a print statement shouldnt really be creating any data.

What should it do?

Xho

--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
.



Relevant Pages