Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 2012.07
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (10 sloc) 0.346 kb
use v6;
say "1..4";
try { die };
say "ok 1"; # we're still here, so &try worked at least partially.
try { die "foo\n" };
if $! eq "foo\n" { say "ok 2" } else { say "not ok 2" }
try { "this_does_not_die" };
if !$! { say "ok 3" } else { say "not ok 3" }
try { die "bar\n" };
if $! eq "bar\n" { say "ok 4" } else { say "not ok 4" }
Jump to Line
Something went wrong with that request. Please try again.