Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Migrate your perl project to Moose

by tospo (Hermit)
on Oct 17, 2011 at 10:28 UTC ( #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
Node Status?
node history
Node Type: note [id://931879]
help
Chatterbox?
[Corion]: (nothing that a quick SQL update can't fix in the input data, but why did the people organizing the test not plan that test under real conditions...)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2017-09-26 15:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (296 votes). Check out past polls.

    Notices?