Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: A first attempt.. at OO perl

by roboticus (Chancellor)
on Jul 02, 2008 at 13:28 UTC ( [id://695132]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package option_str;
    
    ...
        my ($class, $self, $value) = (shift, shift, shift);
        return $self->{value};
    }
    
  2. or download this
    sub set_option
    {
    ...
    
        return $options->{$opt_name}->{value};
    }
    
  3. or download this
    package option_bool;
    sub new
    ...
        bless($self);
        return $self;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-19 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found