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].
[[...]]
{[....]}
%hash{["foo", "bar"]} instead of @hash{"foo", "bar"}, and @array[[1,2]] instead of @array[1,2].
@hash{"foo", "bar"}
@array[[1,2]]
@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
$#array
Makes the sigil really part of the variable name.
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.
An error is raised for $#array. To get the length of an array scalar @array should be used.
scalar @array
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>.
1 POD Error
The following errors were encountered while parsing the POD:
Unterminated C<...> sequence
To install kurila, copy and paste the appropriate command in to your terminal.
cpanm
cpanm kurila
CPAN shell
perl -MCPAN -e shell install kurila
For more information on module installation, please visit the detailed CPAN module installation guide.