-
-
Save Altai-man/44aee25611146c96705275a16539c837 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
use v6; | |
sub MAIN(:$fmt = '%d ', *@*ARGS) { | |
my $nl = 1; | |
for @*ARGS { | |
for .IO.lines -> $line { | |
printf($fmt ~ "%s\n", $nl++, $line); | |
} | |
} | |
} |
Author
Altai-man
commented
Jul 6, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment