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.
- Re: shrinking memory (was Re: Modperl/A... Doug MacEachern
- Re: shrinking memory (was Re: Modperl/A... Stas Bekman
- Re: Modperl/Apache deficiencies... Memo... Matt Sergeant
- Re: Modperl/Apache deficiencies... Memory u... shane
- Re: Modperl/Apache deficiencies... Memo... Perrin Harkins
- Re: Modperl/Apache deficiencies... Memo... shane
- Re: Modperl/Apache deficiencies... Memo... Jim Winstead
- Re: Modperl/Apache deficiencies... Memo... shane
- Re: Modperl/Apache deficiencies... Memo... shane
- Re: Modperl/Apache deficiencies... Memo... Jason Terry
- Re: Modperl/Apache deficiencies... Memo... shane
- Re: Modperl/Apache deficiencies... Memo... Ken Williams
- Re: Modperl/Apache deficiencies... Memo... Matt Sergeant
- Re: Modperl/Apache deficiencies... Memo... Jim Winstead
- Re: Modperl/Apache deficiencies... Memo... Perrin Harkins
- Re: Modperl/Apache deficiencies... Memo... Autarch
- Re: Modperl/Apache deficiencies... Memo... Doug MacEachern
- Re: Modperl/Apache deficiencies... Memo... Gunther Birznieks
- Apache::AuthCookie or Apache::AuthDBI or Ap... Kenneth Frankel
- Re: Apache::AuthCookie or Apache::AuthD... Vivek Khera
- Re: Modperl/Apache deficiencies... Memory usage. Gunther Birznieks