You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ perl6 -e 'multi MAIN("foo bar") {}' foo bar
Usage:
-e '...' foo bar
$ perl6 -e 'multi MAIN("foo bar") { say "OH HAI" }' 'foo bar'
OH HAI
$
The usage message is confusing because it suggests exactly the
sequence of arguments that failed and triggered the message.
Shell-quoting the two words makes the invocation succeed. I suggest
the shell-quoting be included in the usage message -- but the exact
nature of the fix doesn't matter that much to me, the most important
thing is that usage message not suggest things that don't work.
Migrated from rt.perl.org#113954 (status was 'resolved')
Searchable as RT113954$
The text was updated successfully, but these errors were encountered: