Last active
January 7, 2016 20:08
-
-
Save diakopter/7981dc5b1d0ff7598e53 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
my $compile-time-sub; | |
sub call-compile-time-sub() is export { note 'before'; $compile-time-sub(); note 'after'; } | |
BEGIN { $compile-time-sub = -> { <.so .dll .dylib>.map("lib/" ~ *); }; } | |
call-compile-time-sub() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment