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 says that chaining -e
> options together should work.

Behavior has changed: rakudo is now running the first -e, not the last:

$ ./perl6 -e 'print "OH HAI\n";' -e 'print "OH BAI BAI\n"'
OH HAI


-- 
Will "Coke" Coleda

Reply via email to