Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 8f8c84034cc0be41ffcde20ae27b26d8ba8ed822
https://github.com/perl6/specs/commit/8f8c84034cc0be41ffcde20ae27b26d8ba8ed822
Author: Moritz Lenz <[email protected]>
Date: 2014-10-06 (Mon, 06 Oct 2014)
Changed paths:
M S19-commandline.pod
Log Message:
-----------
[S19] simplify rules for command line parsing
-e now stops command line parsing. This means only one -e is now interpreted.
Use proper scripts instead.
Rationale:
p5's disambiguation rule is that everything after the -e program is considered
an option to perl if it's a valid perl option.
This means that
1) you have to memorize an arbitrary list of options that apply to the
compiler to know where an option belongs to
2) introducing an option to the compiler is a backwards incompatible change
3) the rules are more complicated