Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: "Fields" for "Objects"

by whakka (Hermit)
on Jun 11, 2009 at 00:09 UTC ( #770473=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub field {
        my $self = shift;
        $self->{field} = $_[0] if @_;
        ...
    }
    
  2. or download this
    sub field {
        my ($self,$val) = @_;
        $self->{field} = $val if defined $val;
        ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2022-05-28 16:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (99 votes). Check out past polls.

    Notices?