No such thing as a small change | |
PerlMonks |
Re: Data structure challengeby Abigail-II (Bishop) |
on Mar 22, 2004 at 23:50 UTC ( [id://338846]=note: print w/replies, xml ) | Need Help?? |
Yes, Perl has to initialize all array elements.
Internally, it will store pointers (to SV's), and if Perl
wouldn't initialize the array elements, it ends up with
random memory addresses, and it has no way of finding out
whether the element was initialized or not.
Abigail
In Section
Meditations
|
|