Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: 2009-06
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.308 kB
use v6;
say "1..3";
{
my $string = "Pugs";
if $string.isa("Str") { say "ok 1" } else { say "not ok 1" }
}
{
my $num = 3.141;
if $num.isa("Num") { 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.