Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (9 sloc) 0.27 kb
#! /Users/damian/bin/rakudo'
use v6;
use IO::Prompter;
prompt -> $name, Int $age, Bool $married {
report($name, $age, $married);
}
sub report ($name, $age, $married) {
say " $name (aged $age) is{$married ?? '' !! "n\'t"} married";
}
Jump to Line
Something went wrong with that request. Please try again.