Help for this page

Select Code to Download


  1. or download this
    sub should_pass {
      my ($value, $constraint) = @_;
    ...
    
    should_pass(2222222, Int);
    should_fail(3.14159, Int);