Created
April 12, 2017 12:45
-
-
Save 4d47/dc95f75b153d82f2840a8e7b036692bc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Just some meta stuff I found interesting ... | |
sub meta-method-names { | |
Metamodel::ClassHOW.^methods>>.name | |
} | |
sub core-names { | |
CORE::.keys | |
} | |
sub loaded-modules { | |
$*REPO.repo-chain.map(*.loaded).flat | |
} | |
sub watch-home-changes-non-recursively { | |
my $sup = "/home/mat".IO.watch; | |
$sup.tap(-> $notif { say $notif.path, " ", $notif.event }); | |
$sup.wait; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment