kurila18delta - what is new for Perl Kurila 1.8 |
die
and warn
create error
objects$SIG{__DIE__}
and $SIG{__WARN__}
renamed to ${^DIE_HOOK}
and ${^WARN_HOOK}
kurila18delta - what is new for Perl Kurila 1.8
This document describes differences between Perl Kurila 1.7 and Perl Kurila 1.8
die
and warn
create error
objects
$SIG{__DIE__}
and $SIG{__WARN__}
renamed to ${^DIE_HOOK}
and ${^WARN_HOOK}
Implicit local ${^DIE_HOOK} = undef
around an eval
Minor language changes
die
and warn
create error
objectsDie and warn now create error
objects. These include a full stack dump.
Use $@->message to get the error message.
Having a complete stack trace makes debugging easier.
$SIG{__DIE__}
and $SIG{__WARN__}
renamed to ${^DIE_HOOK}
and ${^WARN_HOOK}
The die and warn handlers have been renamed to ${^DIE_HOOK} and ${^WARN_HOOK}.
When called these functions hould receive as first argument an error
object.
${^DIE_HOOK}
and ${^WARN_HOOK}
are no signal handlers.
=head2 Implicit C<local ${^DIE_HOOK} = undef> around an C<eval>
Implicit local ${^DIE_HOOK} = undef
around an eval
Makes ${^DIE_HOOK} suitable for error reporting without interfering
with eval
.
The operators lt
, le
, gt
, ge
have been removed.
lvalue subroutines are no longer allowed.
Single quotes ('
) are no longer allowed in names.
Depth-first method resolution is no longer supported.
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>.
kurila18delta - what is new for Perl Kurila 1.8 |