Created
March 27, 2020 00:38
-
-
Save thundergnat/c8902a82f2a48db2b7fcb7e5a511ecc1 to your computer and use it in GitHub Desktop.
hyper routine
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 $actions = Moedict::Actions.new(); | |
my @objects; | |
my @data = .lines # or whatever | |
(^@data).hyper.map: { | |
@objects[$_] = Moedict.parse(@data[$_], :actions($actions)) or die "$!"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment