Help for this page

Select Code to Download


  1. or download this
    package pm_moose_default_params;
    
    ...
    
    no Moose;
    __PACKAGE__->meta->make_immutable;
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
    
    say 'Moose colour = ', $object->colour;
    say 'Moose shape = ', $object->shape;
    
  3. or download this
    $ pm_moose_default_params.pl
    Option --colour = 
    ...
    Param shape = square
    Moose colour = blue
    Moose shape = square