petdance/scratch — Issue #313: Implicit selection of main sub is deprecated.
Author: petdance
Created: 2011-11-01 05:30:44+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.
Trac ID #1704