Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Undoable Objects

by chromatic (Archbishop)
on Aug 26, 2000 at 21:12 UTC ( #29813=perltutorial: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    use strict;
    ...
        bless($self, $class);
        return $self;
    }
    
  2. or download this
    {
        my %history;
    
    ...
            $self->{$attrib} = $value;
        }
    }
    
  3. or download this
    sub color {
        my $self = shift;
        if (@_) {
    ...
    }
    
    1;
    
  4. or download this
    #!/usr/bin/perl -w
    
    use strict;
    ...
        $hist2->undo();
        print $hist2->all(), "\n\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perltutorial [id://29813]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2013-06-19 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (652 votes), past polls