vaishnavi krishnamurthy wrote:

> Hello,
>
> Can anyone tell me how I can do the following - all the elements in my array of 
> unkown size should be initialised to the value 0 ?
>
> thanks,
> vaish.

No.  If the array is of uknown size, it is not possible to do *anything* to all 
elements.  Therefore no one can tell you how to do any
particular thing.

There are, on the other hand, ways to ensure that each member added to an array is 
initialized to some chosen value.  Assign 0 to each
as it is added, for one.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to