in reply to "cleaning out" object data

How about:
my $self = shift; %$self = ();

Paul

Replies are listed 'Best First'.
Re^2: "cleaning out" object data
by halley (Prior) on May 20, 2005 at 12:21 UTC
    This is the one you should use.

    This is also the scheme by which ImageMagick's Perl bindings module suggests you "remove all images without removing the object." Well, it's an array reference, so they document the idiom as @$magick = (), but same thing.

    --
    [ e d @ h a l l e y . c c ]