Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Getter and Setter Function Names

by Ovid (Cardinal)
on Apr 09, 2003 at 21:36 UTC ( [id://249438]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $thing = Thing->new($id);
      print $thing->name;
      $thing->name($new_name);
      print $thing->id;
      $thing->id($new_id);
    
  2. or download this
      print $thing->name;
      $thing->set_name($new_name);
    
  3. or download this
    [% 
       FOREACH customer = customers;
          customer.last_name; ", "; customer.first_name, "\n";
       END;
    %]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found