kurila115delta - what is new for Perl Kurila 1.15


NAME

kurila115delta - what is new for Perl Kurila 1.15


DESCRIPTION

This document describes differences between Perl Kurila 1.14 and Perl Kurila 1.15


Highlights In Perl Kurila 1.15

Lots of bug fixes and minor changes.


Core Enhancements

blocks must be executed with do

A block by itself is no longer allowed, do can be used to make a block by itself.

Rationale

For the next release {...} is reserved to always make a coderef.

Lexical scoped $_ in for and while(~<$fh) blocks

A for loop without a loop variable or a while(~<$fh), introduces a lexical $_, which is used as the loop variable.

Rationale

Less global $_ problems.

pos and vec use have an additional argument instead of use of lvalue.

pos and vec can not be used a lvalue, instead they accept an additional parameter.

Rationale

As part of changing the assignment logic, all magic lvalues are to be removed.

Minor changes

for loops can only be used with arrays, not as a C-style for loop.
No calling implicit passing of @_ when calling a sub with &.
do can only be used to execute a block or a file, not to call a sub.
Code execution inside a string using {} has been removed.
goto can only be used to goto subroutines, not to go to a label.
The subroutine argument variable @_, is now a lexical variable.

Lots of bugfixes

The are lots of minor internal bugs fixed.


KNOWN BUGS

Documentation

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

Self referential assignment problems

Assigning some value to a part of itself behaves unexpected.

Tied hashes with complex data

Tied hashes do not work correctly with complex data structures. Assigning arrays or hashes to a value of tied hash might behave strange.

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

 kurila115delta - what is new for Perl Kurila 1.15