kurila17delta - what is new for Perl Kurila 1.7 |
{...}
inside double quoted stringsm
in front of matches.<>
operator to ~<
$]
kurila17delta - what is new for Perl Kurila 1.7
This document describes differences between Perl Kurila 1.6 and Perl Kurila 1.7
Block interpolation using {...}
inside double quoted strings
Numeric comparison operators renamed.
Interpolation independent of the delimiter
No-escaping within single quotes
Substitute modifier s///e is removed
Obligatory m
in front of matches.
Renamed readline operator <>
to ~<
open must have a separate mode and filename
Removal of $]
{...}
inside double quoted stringsInside double quoted strings {...}
are interpolated in double quoted strings.
They can also be used to evaluate code inside a replacement part of the substitute, for example
s/<<=(.*)
/{ eval $1 }/g >.
Makes interpolating code inside a double quoted string easy.
The numeric comparison operators < <= > >=, and <=> are renamed to +<, +<=, +>, +>= and <+> respectively.
Makes the old comparison operators free for other uses.
Single quotes don't have any special meaning when used as delimiters for other constructors, i.e. m'$a' is the same as m/$a/.
Simplifies the currently complex interpolation rules.
Single quotes do not do any escaping. This includes not escaping \\
and \'
.
Makes single quotes consistent in not doing escaping.
The substitute modifieders s///e and s///ee to evaluate the replacement are no longer supported.
The new interpolating {...}
can be used instead.
Removed in favor of using {...}
m
in front of matches./PAT/ is longer supported and instead m/PAT/ must be used.
Depending on the context a /
will be interpreted as a divide operator or an error
will be raised.
Simplifies the interpretation of /
<>
operator to ~<
The readline operator <FH>
has been renamed to ~< *FH
.
There is no special syntax for ~<.
There is no default *ARGV, and *ARGV must be explictly given to ~<
Makes the syntax more consistent
open should always be used with separate mode and filename. Using open with 2-arguments with a concatenate mode and filename no longer works and gives an error.
Makes the distinction between mode and filename explicit.
$]
The version variable $] has been removed. $^V (eq "kurila-1.7") or $kurila::VERSION (eq "1.7") can be used instead
Removed because it does not indicate the difference between Perl 5 and Kurila.
Documentation has not been updated for many of the changes for kurila.
Perl Kurila has only been tested/build for x86_64-linux-gnu-thread-multi platform.
The INSTALL file for how to build Perl Kurila.
The README file for general stuff.
The Artistic and Copying files for copyright information.
Written by Gerard Goossen <gerard@tty.nl>.
kurila17delta - what is new for Perl Kurila 1.7 |