Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (8 sloc) 0.2 kB
#! /Users/damian/bin/rakudo'
use v6;
use IO::Prompter;
while prompt("Weight:", :number, :default(42),
:must({'be greater than 0' => {$_ > 0}})
) -> $input {
say "Got [$input]";
}
Jump to Line
Something went wrong with that request. Please try again.