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
-- 
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328



-- 
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