Branch: refs/heads/master Home: https://github.com/perl6/specs
Commit: 5f3562023c2b3ca220d29e1a9465e7c19ab3baf0 https://github.com/perl6/specs/commit/5f3562023c2b3ca220d29e1a9465e7c19ab3baf0 Author: Moritz Lenz <mor...@faui2k3.org> Date: 2011-08-08 (Mon, 08 Aug 2011) Changed paths: M S06-routines.pod Log Message: ----------- make MAIN more robust and less magic The problem with the previous approach was that it made the parsing of command lines dependent on the signature of each multi MAIN candidate, making it impossible to first process @*ARGS and then do a multi dispatch. A different approach at fixing that would be to use the signature of the proto of MAIN as reference instead. If somebody feels strongly about preserving the old magic, please revert this commit and clarify that magic command line parsing needs an explicit proto MAIN.