Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 romping around the Monastery: (5)
As of 2024-04-23 06:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found