Created
December 2, 2018 06:47
-
-
Save solson/1e5ecaf582e4310bdfcf1049f17ad75f 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
#!/usr/bin/env perl6 | |
my $*INPUT; | |
proto MAIN(Str $day, Str $part) { | |
$*INPUT = ('input/' ~ $day).IO.slurp; | |
{*} | |
} | |
multi MAIN('day01', 1) { | |
... | |
} | |
multi MAIN('day01', 2) { | |
... | |
} | |
multi MAIN('day02', 1) { | |
... | |
} | |
multi MAIN('day02', 2) { | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment