Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 2012.04.1
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.304 kB
use v6;
say "1..3";
{
my $string = "Pugs";
if $string.isa("Str") { say "ok 1" } else { say "not ok 1" }
}
{
my $int = 3;
if $int.isa("Int") { say "ok 2" } else { say "not ok 2 # TODO" }
}
{
my $code = { 42 };
if $code.isa("Code") { say "ok 3" } else { say "not ok 3" }
}
Jump to Line
Something went wrong with that request. Please try again.