On Mon, Apr 17, 2000 at 01:33:08PM -0600, Jason Terry wrote:
> This is the first i have seen "delete" referenced.  What does it do?  How is it used?
> 
> Thank you
>       -Jason

It's the stack cleaner... but it only works for scalars, and maybe
arrays, but its better for arrays and hashes to do the following at
the bottom of each code block in registry scripts.  (True good note)

@somearray = ();
%somehash =();
delete $somescalar;
(and don't forget untie :-> )

Basically it will clean up *most* of the memory taken up by these
variables.

Thanks,
Shane.

Reply via email to