Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How do YOU do OO in Perl?

by Nomad (Pilgrim)
on Oct 10, 2003 at 12:57 UTC ( [id://298236]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    { my %_attr = {
           _attr1 => 'read',
           _attr2 => 'write',
    ...
    $_attr{$attr} =~ /$mode/;
    }
    }
    
  2. or download this
    sub AUTOLOAD {
    my ($self, $value) = @_;
    ...
    
    die "No such method: $AUTOLOAD, $!";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-28 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found