in reply to undef'ing @arrays caveat
What you need to determine first is "what does it mean for an array to be undefined?" If we takes as our definition that an array with no elements is undefined, then the standard (and self evident) way is to assign an empty array to it: @array = ();.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: undef'ing @arrays caveat
by dmmiller2k (Chaplain) on Apr 20, 2002 at 22:50 UTC | |
by Juerd (Abbot) on Apr 20, 2002 at 23:01 UTC | |
by dmmiller2k (Chaplain) on Apr 20, 2002 at 23:12 UTC | |
by Juerd (Abbot) on Apr 20, 2002 at 23:19 UTC |
In Section
Meditations