> -----Original Message-----
> From: Johnstone, Colin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 20, 2002 9:33 AM
> To: '[EMAIL PROTECTED]'
> Subject: killing a hash
> 
> 
> Gidday all,
>  
> to kill an array or reset it you do
>  
> @arrayname();

Actually, its

   @arrayname = ();

>  
> how do you reset a hash
>  
> %hashname;

   %hashname = ();

You can also use undef:

   undef @arrayname;
   undef %hashname;

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

Reply via email to