"Charles K. Clarkson" wrote: > vaishnavi krishnamurthy <[EMAIL PROTECTED]> wrote: > > : Can anyone tell me how I can do the following - all the > : elements in my array of unknown size should be initialized > : to the value 0? > > Assuming your array has only one dimension: > > @array = (0) x @array; > > HTH, > > Charles K. Clarkson
Oh yeah, I forgot--it is not possible to have an array of "unknown size" in Perl. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>