Tags
Technology/Application: perl
- Objects.
- The documentation is much more extensive and
perldoc
along withpodis introduced. - Lexical scoping available via
my.
evalcan see the current lexical variables. - The preferred package delimiter is now
::
rather than'. - New functions include:
abs(),chr(),uc(),
ucfirst(),lc(),lcfirst(),
chomp(),glob() - There is now an
Englishmodule that provides
human readable translations for cryptic variable names. - Several previously added features have been subsumed under
the new keywordsuseandno. - Pattern matches may now be followed by an
mor
smodifier to explicitly request multiline
or singleline semantics. Ansmodifier makes
. matchnewline. @now always interpolates an array in
double-quotish strings. Some programs may now need to use backslash
to protect any@that shouldn't interpolate.- It is no longer syntactically legal to use whitespace as the name
of a variable, or as a delimiter for any kind of quote construct. - The
-wswitch is much more informative. =>is now a synonym for comma. This is useful as
documentation for arguments that come in pairs, such as
initializers for associative arrays, or named arguments to
a subroutine.


![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_c.png?x-id=b24d465f-e629-4176-95d3-98f8ff69a0c7)