NAME
kurila01delta - what is new for Perl Kurila 0.1
DESCRIPTION
This document describes differences between Perl Kurila 0.1 and Perl v5.9.x DEVEL30965
Highlights In Kurila 0.1
Lexical scoped byte vs codepoint semantics
Strings are internally always encoded using UTF-8
Removal indirect object syntax
Removal formats
Core Enhancements
Lexical scoped byte vs codepoint semantics
Instead of having an string dependend byte vs codepoint semantics, the semantics is not determined by the lexical scope. use bytes
sets byte semantics for the current lexical scope, use utf8
set codepoints semantics for the current lexical scope. chomp, chop, chr, index, lc, lcfirst, length, oct, ord, reverse, rindex, substr, uc, ucfirst all depend on the lexical scope to determine whether to use bytes or codepoints. The default lexical scope is bytes.
Internal encoding using UTF-8
Strings are always internally represented using UTF-8
\x...
\x{NUMBER}
creates a codepoint with the numeric value NUMBER. \x[NUMBER]
creates a byte with numeric value NUMBER modulo 256. \x1b
creates a codepoint or byte depending on the lexical scope.
/u pattern option
Regex unicode matching is enabled when /u
option is enabled on a pattern, or when use utf8
is in effect.
Indirect object syntax removed
Indirect object syntax has been removed.
formats removed
The format
and formline
keywords have been removed. As well as the special vars $^A, $^, $~, $=, $-, $% and $:.
Modules and Pragmata
New Modules and Pragmata
- Perl6::Form, by Damian Conway, is a replacement for the removed format and formline keywords. Slightly modified as not to depend on Perl6::Export
Updated Modules And Pragmata
Almost all modules and pragmata have been udpated to for the changes in the Core.
Deleted Modules and Pragmata
KNOWN BUGS
Documentation
Documention has not been updated for many of the changes mentioned in this document.
Limited platform support
Perl Kurila has ony 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>.