Vaishnavi Krishnamurthy wrote:
> 
> Hello,

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 ?

@array = (0) x @array;


John
-- 
use Perl;
program
fulfillment

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