Help for this page

Select Code to Download


  1. or download this
    my $f = new Foo(
       one => 'valued',
       two => undef
    );
    
  2. or download this
    use MooseX::Declare;
    
    ...
       has 'one' => (is => 'rw', isa => 'Str');
       has 'two' => (is => 'rw', isa => 'Str');
    };