Skip to content

Instantly share code, notes, and snippets.

@Mouq
Last active December 22, 2015 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mouq/6417756 to your computer and use it in GitHub Desktop.
Save Mouq/6417756 to your computer and use it in GitHub Desktop.
class Recursive {
has $.r;
class Recursive::Stub is Recursive {
submethod BUILD {}
}
submethod BUILD {
$!r = Recursive::Stub.new;
}
}
my Recursive $recluse .= new;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment