in reply to Re^2: broken twig?
in thread broken twig?
The twig_purge in attachment will indeed purge everything before that element, meaning that the record_id, creation_ts, short_desc and delta_ts elements will be purged, but the (now empty) record will be kept. Is this what is causing you problems?
Maybe what you are looking for is just $attach->delete in the attachment handler, then $twig->purge in the record handler. If Scalar::Util is installed, then using delete will release the memory for the attachment (at least so it can be re-used by the Perl process).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: broken twig?
by gregaryh (Novice) on Sep 13, 2005 at 21:31 UTC | |
by mirod (Canon) on Sep 13, 2005 at 21:50 UTC |