6 when <--version
> { version
() };
7 when <--help
> { help
() };
8 when <--> { shift @
*ARGS
; last };
11 @
*ARGS
= <y
> unless @
*ARGS
;
13 loop { say @
*ARGS
.join(" ") };
16 say "$*PROGRAM_NAME (Perl6 Power Tools) $VERSION";
23 $*PROGRAM_NAME [OPTION] [STRING...]
25 Repeatedly print its arguments, or 'y'.
28 --version: Print version number, then exit.
29 --help: Print usage, then exit.
30 --: Stop parsing options.