Help for this page

Select Code to Download


  1. or download this
    use strict;
    use v5.10;
    ...
    $a->deposit( amount => 50 );
    
    say $a->balance;
    
  2. or download this
    'PositiveInt' could not be parsed to a type constraint - maybe you nee
    +d to pre-declare the type with class_type at /home/moose/perl5/lib/pe
    +rl5/MooseX/Declare/Syntax/MethodDeclaration.pm line 40