petdance/scratch — Issue #1032: Implicit selection of main sub is deprecated.
Author: petdance
Created: 2011-11-14 06:14:25+00:00
State: open
Labels: deprecation, imcc, Pri-normal, Sev-medium

After 2.6 current behaviour of selecting main Sub will be changed. Instead of something like "First sub in PIR file if there is no :main Sub" we will use only first Sub marked with ":main" modifier.
Main reason - enable args validation of 0-arity subs. See also http://irclog.perlgeek.de/parrotsketch/2010-07-13#i_2550626 for discussion.

Eligible in 2.7.

Originally http://trac.parrot.org/parrot/ticket/1704 by @bacek