use warnings;
use strict;

my @arr=(1,2,3);
print "orig",@arr,"\n";
@arr=(); # clear the array
print "now",@arr,'\n";

 --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi
> Suppose i have an array a[0]=1,a[1]=45,a[3]=78
> Is there a way to clear the @a array with just one
> command? so i can for
> example
> assingn new values like a[0]=10,a[1]=90 and for
> example leave a[3] empty
> Something like clear @a;
> Tanks
> 
> 
> 
> 
> -- 
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to