Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Migrate your perl project to Moose

by tospo (Hermit)
on Oct 17, 2011 at 10:28 UTC ( [id://931879]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub name {
      my $self = shift;
    ...
      $self->{_name} = $new_value if defined $new_value;
      return $self->{_name};
    }
    
  2. or download this
    has 'name' => (
     is  => 'rw',
     isa => 'Str',
    );
    

Log In?
Username:
Password:

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

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

    No recent polls found