Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Tutorial: Introduction to Object-Oriented Programming

by demerphq (Chancellor)
on Dec 10, 2002 at 16:24 UTC ( [id://218817]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub setPhrase {
      my $self = shift;
    ...
      my $self = shift;
      return $self->{phrase};
    }
    
  2. or download this
    sub Phrase {
      my $self=shift;
      $self->{phrase}=shift if @_;
      return $self->{phrase}
    }
    
  3. or download this
    sub Phrase {
      my $self=shift;
    ...
      }
      return $self->{phrase}
    }
    
  4. or download this
    my $dump=Data::Dumper->new([$foo])->Terse(1)->Purity(0)->Names(['foo']
    +)->Dump()
    
  5. or download this
    my $saver  = Saver::Database->new($db, $user, $pass);
    
  6. or download this
    $quote1->setPhrase($phrase);
    $quote1->setAuthor($author);
    
  7. or download this
    $quote1->Quote($phrase,$author);
    
  8. or download this
    $quote->Set(phrase=>$phrase,author=>$author);
    

Log In?
Username:
Password:

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

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

    No recent polls found