Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (13 sloc) 0.244 kB
#! nqp
# check module
plan(3);
XYZ::foo('ok 1');
XYZ::sayfoo();
module XYZ {
our $value := 'ok 2';
our sub foo($x) { $value := $x; }
our sub sayfoo() { say($value // 'ok 1'); }
sayfoo();
}
XYZ::foo('ok 3');
XYZ::sayfoo();
Jump to Line
Something went wrong with that request. Please try again.