Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: Things I Don't Use in Perl

by demerphq (Chancellor)
on Aug 24, 2005 at 16:59 UTC ( #486288=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use Carp;
    sub name {
      return $self->{name};
  2. or download this
    sub set_name { 
        my $self = shift; 
        if (@_) { warn "Attempt to set value in get" }
        return $self->{name};
  3. or download this
    my $val = $obj->set_name(@foo);
  4. or download this
    die "No arguments in set_name()" unless @_;

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-11-29 20:49 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (753 votes), past polls