kurila110delta - what is new for Perl Kurila 1.10


NAME

kurila110delta - what is new for Perl Kurila 1.10


DESCRIPTION

This document describes differences between Perl Kurila 1.9 and Perl Kurila 1.10


Highlights In Perl Kurila 1.10


Core Enhancements

Sigil refering to the variable type.

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'}.

Rationale

Makes the sigil really part of the variable name.

Changed slice syntax

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].

Rationale

Because the sigil can not be used for indicating a slice new syntax was needed.

No curly braces allowed around variables

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}.

Rationale

Consistent with the no sigil change in making the sigil part of the variable name.

Error on $#array

An error is raised for $#array. To get the length of an array scalar @array should be used.

Rationale

Removed in favor of scalar @array


KNOWN BUGS

Documentation

Documentation has not been updated for many of the changes for kurila.

Limited platform support

Perl Kurila has only been tested/build for x86_64-linux-gnu-thread-multi platform.


SEE ALSO

The INSTALL file for how to build Perl Kurila.

The README file for general stuff.

The Artistic and Copying files for copyright information.


HISTORY

Written by Gerard Goossen <gerard@tty.nl>.

 kurila110delta - what is new for Perl Kurila 1.10