Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

"cleaning out" object data

by Forsaken (Friar)
on May 20, 2005 at 07:32 UTC ( #458865=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $self = shift;
    foreach my $key (keys(%{$self}))
      { delete $self->{$key}; }
    
  2. or download this
    package Celebrity;
    use strict;
    ...
        $self->{'Hours_on_the_job') = 0;
        }
      }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://458865]
Approved by pelagic
Front-paged by jbrugger
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2018-10-20 14:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (118 votes). Check out past polls.

    Notices?