kurila110delta - what is new for Perl Kurila 1.10 |
$#array
kurila110delta - what is new for Perl Kurila 1.10
This document describes differences between Perl Kurila 1.9 and Perl Kurila 1.10
The sigil refers the the data type of the variable, instead of the data type of the value. For example: @array[28] should be used instead of $array[28], and %hash{'key'} instead of $hash{'key'}.
Slices are taken using [[...]]
and {[....]}
instead of using the sigil to indicate a slice.
i.e. %hash{["foo", "bar"]} instead of @hash{"foo", "bar"}, and
@array[[1,2]] instead of @array[1,2]
.
Curly braces are not allowed around variable names, i.e. $varname should be used instead of ${varname}
An error is raised for $#array
The sigil refers the the data type of the variable, instead of the data type of the value. For example: @array[28] should be used instead of $array[28], and %hash{'key'} instead of $hash{'key'}.
Makes the sigil really part of the variable name.
Slices are taken using [[...]]
and {[....]}
instead of using the sigil to indicate a slice.
i.e. %hash{["foo", "bar"]} instead of @hash{"foo", "bar"}, and
@array[[1,2]] instead of @array[1,2].
Because the sigil can not be used for indicating a slice new syntax was needed.
Curly braces are not allowed around variable names, i.e. $varname
should be used instead of ${varname}. Also names are allowed to start
with an ^
, which refer to special variables, for example $^TAINT
instead of ${^TAINT}.
Consistent with the no sigil change in making the sigil part of the variable name.
$#array
An error is raised for $#array
. To get the length of an array
scalar @array
should be used.
Removed in favor of scalar @array
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>.
kurila110delta - what is new for Perl Kurila 1.10 |