BTW this is nothing to do with -e. It happens if you do the same thing in a
file.  Auto-usage is broken in general *%variables but esp broken when they
have a 0 length variable name.

On Sat, Feb 27, 2016 at 2:25 PM Lloyd Fournier <perl6-bugs-follo...@perl.org>
wrote:

> # New Ticket Created by  Lloyd Fournier
> # Please include the string:  [perl #127621]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/Ticket/Display.html?id=127621 >
>
>
> perl6 -e 'sub MAIN($foo,*%) { }'
>
> Usage:
>
>   -e '...' [--<(HANDLED) Start argument to substr out of range. Is: 1,
> should be in 0..0; use *1 if you want to index relative to the end
>   in block <unit> at -e line 1
> >=...] <foo>
>

Reply via email to