Created
March 10, 2023 07:31
-
-
Save tobyink/add7fe104b94d6adfd960615b4a96ac2 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
sub import { | |
shift; | |
@_ = 'with' unless @_; | |
Keyword::Simple::define $_, \&__rewrite_with for @_; | |
} | |
sub unimport { | |
shift; | |
@_ = 'with' unless @_; | |
Keyword::Simple::undefine $_ for @_; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment