I was hoping to wrote a simple script that would accept a bunch of filenames on the command line so I wrote:
#!/usr/bin/env perl6 use v6; multi sub MAIN(@files) { say @files.perl; } $ perl6 code.pl6 Usage: code.pl6 <files> $ perl6 code.pl6 abc Usage: code.pl6 <files> $ perl6 code.pl6 abc def Usage: code.pl6 <files> I got desperate, but that did not help either: $ perl6 code.pl6 --files abc Usage: code.pl6 <files> I am rather confused by this. $ perl6 -v This is Rakudo version 2017.06 built on MoarVM version 2017.06 implementing Perl 6.c. Gabor