Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Object Oriented Programming in Perl.

by Basilides (Friar)
on Aug 05, 2002 at 09:30 UTC ( [id://187611]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Food;
    
    ...
        $self->{_entree} = "soup";
        $self->{_dessert} = "ice cream";
    }
    
  2. or download this
    sub initialize {
        my $self = shift;
    ...
        $self->{_entree} = shift;
        $self->{_dessert} = shift;
    }
    
  3. or download this
    my $meal = new Food("tea", "sushi", "creme egg");
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found