Recently there was a change in the S19-commandline design document
(https://github.com/perl6/specs/commit/8f8c84034c) and now -e program stops
option processing.
So the following is now expected behaviour
$ perl6 -e 'print OH HAI\n;' -e 'print OH BAI BAI\n'
OH HAI
$ perl6 -e 'say @*ARGS' -e
On Wed Mar 24 07:00:23 2010, masak wrote:
$ perl -e 'print OH HAI\n;' -e 'print OH BAI BAI\n'
OH HAI
OH BAI BAI
$ perl6 -e 'print OH HAI\n;' -e 'print OH BAI BAI\n'
OH BAI BAI
So Perl 6 doesn't behave like Perl 5 (and sed and lots of other
programs accepting the -e option). S19:427 even
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #73790]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73790
$ perl -e 'print OH HAI\n;' -e 'print OH BAI BAI\n'
OH HAI
OH BAI BAI
$ perl6 -e