Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 2011.07
Fetching contributors…

Cannot retrieve contributors at this time

file 19 lines (14 sloc) 0.304 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
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" }
}
Something went wrong with that request. Please try again.