Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Undoable Objects

by chromatic (Archbishop)
on Aug 26, 2000 at 21:12 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: perltutorial [id://29813]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-16 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found