Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

"cleaning out" object data

by Forsaken (Friar)
on May 20, 2005 at 07:32 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2024-04-18 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found