![]() ![]() E is equivalent to -e, but it implicitly enables all optional features (like use feature ":5.10"). The feature pragma is also implicitly loaded when you require a minimal perl version (with the use VERSION construct) greater than, or equal to, 5.9.5. Those features are described in their own sections of this document. It's a lexical pragma, like strict or warnings.Ĭurrently the following new features are available: switch (adds a switch statement), say (adds a say built-in function), and state (adds a state keyword for declaring "static" variables). The feature pragma is used to enable new syntax that would break Perl's backwards-compatibility with older releases of the language. Many of the bug fixes in 5.10.0 were already seen in the 5.8.X maintenance releases they are not duplicated here and are documented in the set of man pages named perl58?delta. This document describes the differences between the 5.8.8 release and the 5.10.0 release. Perl5100delta - what is new for perl 5.10.0 #DESCRIPTION Installation and Configuration Improvements.warnings::enabled and warnings::warnif changed to favor users of modules.Removal of the bytecode compiler and of perlcc.strictures and dereferencing in defined().$^V is now a version object instead of a v-string.substr() lvalues are no longer fixed-length.The $* and $# variables have been removed.Byte/character count feature in unpack().Source filters in New internal variables.Byte-order modifiers for pack() and unpack().readdir() may return a "short filename" on Windows.
0 Comments
Leave a Reply. |