I'm not talking about the kind of backwards compatibility that by definition every enhancement or bugfix breaks. I'm talking about the kind where completely unrelated things suddenly stop working, ala:
$ perl5.10.0 -w
sub when { use POSIX "strftime"; strftime("[%Y-%m-%d %H:%M:%S] ", gmti
+me) }
warn when, "some warning";
__END__
[2007-12-23 20:51:11] some warning at - line 2.
$ perl5.10.0 -w
use feature ":5.10";
sub when { use POSIX "strftime"; strftime("[%Y-%m-%d %H:%M:%S] ", gmti
+me) }
warn when, "some warning";
__END__
syntax error at - line 3, near "warn when"
Execution of - aborted due to compilation errors.
Given that the whole point of the feature pragma is to require explicit enabling of stuff that is likely to break existing code, I really don't see automatically enabling it in Moose.
What happens when 5.12 comes out? Do you switch to enabling ":5.12" features? How many hundreds or thousands of modules do you hope will be using Moose by then?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.