-
-
Save niner/66a72dbe737dcff4ab862ca782ce706f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module A {} | |
use nqp; | |
sub EXPORT { | |
if $*W { | |
my $block := { nqp::print(nqp::getlexdyn('$*W') ?? "world is still there!" !! "The world went away"); }; | |
$*W.add_object($block); | |
my $op := $*W.add_phaser(Mu, 'CHECK', $block, class :: { method cuid { (^2**128).pick }}); | |
} | |
Map.new | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit class B; | |
use A; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment