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

Re: Tutorial: Introduction to Object-Oriented Programming

by demerphq (Chancellor)
on Dec 10, 2002 at 16:24 UTC ( #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
Node Status?
node history
Node Type: note [id://218817]
help
Chatterbox?
[Corion]: Sane Dots Supplies - your brand manufacturer for satisfying experiences!
[choroba]: preparing the trip to Vietnam + buying a new car = enough fun
[Corion]: choroba: Yeah, that's a lot of "fun" for one week...
[Corion]: I guess I should stage some product photos for Sane Dots Supplies ;)
[marto]: I had some ideas about that Corion
[marto]: I'll send a message over the weekend maybe :P
[Corion]: choroba: I avoided the "fun" of emergency shopping for a new flat iron by trying the flat iron without the timer that sat between it and the mains power. Seems as if just the timer is broken.
[Corion]: marto: Heh, would be cool!

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-01-20 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.