Help for this page

Select Code to Download


  1. or download this
    use Modern::Perl;
    use Moose::Util qw( with_traits );
    ...
       y => 1,
       name => 'my_point', 
    );#To satisfy the required values
    
  2. or download this
    has 'name' => (
        isa => 'Str',
    ...
        default => 'change_me',
        writer => 'set_name',
    );