.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sh \" Subsection heading
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. | will give a
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
.\" expand to `' in nroff, nothing in troff, for use with C<>.
.tr \(*W-|\(bv\*(Tr
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.\"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.hy 0
.if n .na
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff
.if n \{\
. ds #H 0
. ds #V .8m
. ds #F .3m
. ds #[ \f1
. ds #] \fP
.\}
.if t \{\
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
. ds #V .6m
. ds #F 0
. ds #[ \&
. ds #] \&
.\}
. \" simple accents for nroff and troff
.if n \{\
. ds ' \&
. ds ` \&
. ds ^ \&
. ds , \&
. ds ~ ~
. ds /
.\}
.if t \{\
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
. \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
. \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
. \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
. ds : e
. ds 8 ss
. ds o a
. ds d- d\h'-1'\(ga
. ds D- D\h'-1'\(hy
. ds th \o'bp'
. ds Th \o'LP'
. ds ae ae
. ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "PERL572DELTA 1"
.TH PERL572DELTA 1 "2002-11-24" "perl v5.8.0" "Perl Programmers Reference Guide"
.SH "NAME"
perl572delta \- what's new for perl v5.7.2
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
This document describes differences between the 5.7.1 release and the
5.7.2 release.
.PP
(To view the differences between the 5.6.0 release and the 5.7.0
release, see perl570delta. To view the differences between the
5.7.0 release and the 5.7.1 release, see perl571delta.)
.SH "Security Vulnerability Closed"
.IX Header "Security Vulnerability Closed"
(This change was already made in 5.7.0 but bears repeating here.)
.PP
A security vulnerability affecting all Perl versions prior to 5.6.1
was found in August 2000. The vulnerability does not affect default
installations and as far as is known affects only the Linux platform.
.PP
You should upgrade your Perl to 5.6.1 as soon as possible. Patches
for earlier releases exist but using the patches require full
recompilation from the source code anyway, so 5.6.1 is your best
choice.
.PP
See http://www.cpan.org/src/5.0/sperl\-2000\-08\-05/sperl\-2000\-08\-05.txt
for more information.
.SH "Incompatible Changes"
.IX Header "Incompatible Changes"
.Sh "64\-bit platforms and malloc"
.IX Subsection "64-bit platforms and malloc"
If your pointers are 64 bits wide, the Perl malloc is no more being
used because it simply does not work with 8\-byte pointers. Also,
usually the system malloc on such platforms are much better optimized
for such large memory models than the Perl malloc.
.Sh "\s-1AIX\s0 Dynaloading"
.IX Subsection "AIX Dynaloading"
The \s-1AIX\s0 dynaloading now uses in \s-1AIX\s0 releases 4.3 and newer the native
dlopen interface of \s-1AIX\s0 instead of the old emulated interface. This
change will probably break backward compatibility with compiled
modules. The change was made to make Perl more compliant with other
applications like modperl which are using the \s-1AIX\s0 native interface.
.Sh "Socket Extension Dynamic in \s-1VMS\s0"
.IX Subsection "Socket Extension Dynamic in VMS"
The Socket extension is now dynamically loaded instead of being
statically built in. This may or may not be a problem with ancient
\&\s-1TCP/IP\s0 stacks of \s-1VMS:\s0 we do not know since we weren't able to test
Perl in such configurations.
.Sh "Different Definition of the Unicode Character Classes \ep{In...}"
.IX Subsection "Different Definition of the Unicode Character Classes p{In...}"
As suggested by the Unicode consortium, the Unicode character classes
now prefer \fIscripts\fR as opposed to \fIblocks\fR (as defined by Unicode);
in Perl, when the \f(CW\*(C`\ep{In....}\*(C'\fR and the \f(CW\*(C`\ep{In....}\*(C'\fR regular expression
constructs are used. This has changed the definition of some of those
character classes.
.PP
The difference between scripts and blocks is that scripts are the
glyphs used by a language or a group of languages, while the blocks
are more artificial groupings of 256 characters based on the Unicode
numbering.
.PP
In general this change results in more inclusive Unicode character
classes, but changes to the other direction also do take place:
for example while the script \f(CW\*(C`Latin\*(C'\fR includes all the Latin
characters and their various diacritic-adorned versions, it
does not include the various punctuation or digits (since they
are not solely \f(CW\*(C`Latin\*(C'\fR).
.PP
Changes in the character class semantics may have happened if a script
and a block happen to have the same name, for example \f(CW\*(C`Hebrew\*(C'\fR.
In such cases the script wins and \f(CW\*(C`\ep{InHebrew}\*(C'\fR now means the script
definition of Hebrew. The block definition in still available,
though, by appending \f(CW\*(C`Block\*(C'\fR to the name: \f(CW\*(C`\ep{InHebrewBlock}\*(C'\fR means
what \f(CW\*(C`\ep{InHebrew}\*(C'\fR meant in perl 5.6.0. For the full list
of affected character classes, see \*(L"Blocks\*(R" in perlunicode.
.Sh "Deprecations"
.IX Subsection "Deprecations"
The current user-visible implementation of pseudo-hashes (the weird
use of the first array element) is deprecated starting from Perl 5.8.0
and will be removed in Perl 5.10.0, and the feature will be
implemented differently. Not only is the current interface rather
ugly, but the current implementation slows down normal array and hash
use quite noticeably. The \f(CW\*(C`fields\*(C'\fR pragma interface will remain
available.
.PP
The syntaxes \f(CW\*(C`@a\-\*(C'\fR[...]> and \f(CW\*(C`@h\-\*(C'\fR{...}> have now been deprecated.
.PP
The suidperl is also considered to be too much a risk to continue
maintaining and the suidperl code is likely to be removed in a future
release.
.PP
The \f(CW\*(C`package;\*(C'\fR syntax (\f(CW\*(C`package\*(C'\fR without an argument has been
deprecated. Its semantics were never that clear and its
implementation even less so. If you have used that feature to
disallow all but fully qualified variables, \f(CW\*(C`use strict;\*(C'\fR instead.
.PP
The chdir(undef) and chdir('') behaviors to match \fIchdir()\fR has been
deprecated. In future versions, chdir(undef) and chdir('') will
simply fail.
.SH "Core Enhancements"
.IX Header "Core Enhancements"
In general a lot of fixing has happened in the area of Perl's
understanding of numbers, both integer and floating point. Since in
many systems the standard number parsing functions like \f(CW\*(C`strtoul()\*(C'\fR
and \f(CW\*(C`atof()\*(C'\fR seem to have bugs, Perl tries to work around their
deficiencies. This results hopefully in more accurate numbers.
.IP "\(bu" 4
The rules for allowing underscores (underbars) in numeric constants
have been relaxed and simplified: now you can have an underscore
\&\fBbetween digits\fR.
.IP "\(bu" 4
\&\s-1GMAGIC\s0 (right\-hand side magic) could in many cases such as string
concatenation be invoked too many times.
.IP "\(bu" 4
Lexicals I: lexicals outside an eval "\*(L" weren't resolved
correctly inside a subroutine definition inside the eval \*(R"\*(L" if they
were not already referenced in the top level of the eval\*(R""ed code.
.IP "\(bu" 4
Lexicals \s-1II:\s0 lexicals leaked at file scope into subroutines that
were declared before the lexicals.
.IP "\(bu" 4
Lvalue subroutines can now return \f(CW\*(C`undef\*(C'\fR in list context.
.IP "\(bu" 4
The \f(CW\*(C`op_clear\*(C'\fR and \f(CW\*(C`op_null\*(C'\fR are now exported.
.IP "\(bu" 4
A new special regular expression variable has been introduced:
\&\f(CW$^N\fR, which contains the most-recently closed group (submatch).
.IP "\(bu" 4
utime now supports \f(CW\*(C`utime undef, undef, @files\*(C'\fR to change the
file timestamps to the current time.
.IP "\(bu" 4
The Perl parser has been stress tested using both random input and
Markov chain input.
.IP "\(bu" 4
\&\f(CW\*(C`eval "v200"\*(C'\fR now works.
.IP "\(bu" 4
\&\s-1VMS\s0 now works under PerlIO.
.IP "\(bu" 4
\&\s-1END\s0 blocks are now run even if you exit/die in a \s-1BEGIN\s0 block.
The execution of \s-1END\s0 blocks is now controlled by
PL_exit_flags & \s-1PERL_EXIT_DESTRUCT_END\s0. This enables the new
behaviour for perl embedders. This will default in 5.10. See
perlembed.
.SH "Modules and Pragmata"
.IX Header "Modules and Pragmata"
.Sh "New Modules and Distributions"
.IX Subsection "New Modules and Distributions"
.IP "\(bu" 4
Attribute::Handlers \- Simpler definition of attribute handlers
.IP "\(bu" 4
ExtUtils::Constant \- generate \s-1XS\s0 code to import C header constants
.IP "\(bu" 4
I18N::Langinfo \- query locale information
.IP "\(bu" 4
I18N::LangTags \- functions for dealing with RFC3066\-style language tags
.IP "\(bu" 4
libnet \- a collection of perl5 modules related to network programming
.Sp
Perl installation leaves libnet unconfigured, use \fIlibnetcfg\fR to configure.
.IP "\(bu" 4
List::Util \- selection of general-utility list subroutines
.IP "\(bu" 4
Locale::Maketext \- framework for localization
.IP "\(bu" 4
Memoize \- Make your functions faster by trading space for time
.IP "\(bu" 4
\&\s-1NEXT\s0 \- pseudo-class for method redispatch
.IP "\(bu" 4
Scalar::Util \- selection of general-utility scalar subroutines
.IP "\(bu" 4
Test::More \- yet another framework for writing test scripts
.IP "\(bu" 4
Test::Simple \- Basic utilities for writing tests
.IP "\(bu" 4
Time::HiRes \- high resolution ualarm, usleep, and gettimeofday
.IP "\(bu" 4
Time::Piece \- Object Oriented time objects
.Sp
(Previously known as Time::Object.)
.IP "\(bu" 4
Time::Seconds \- a simple \s-1API\s0 to convert seconds to other date values
.IP "\(bu" 4
UnicodeCD \- Unicode Character Database
.Sh "Updated And Improved Modules and Pragmata"
.IX Subsection "Updated And Improved Modules and Pragmata"
.IP "\(bu" 4
B::Deparse module has been significantly enhanced. It now
can deparse almost all of the standard test suite (so that the
tests still succeed). There is a make target \*(L"test.deparse\*(R"
for trying this out.
.IP "\(bu" 4
Class::Struct now assigns the array/hash element if the accessor
is called with an array/hash element as the \fBsole\fR argument.
.IP "\(bu" 4
Cwd extension is now (even) faster.
.IP "\(bu" 4
DB_File extension has been updated to version 1.77.
.IP "\(bu" 4
Fcntl, Socket, and Sys::Syslog have been rewritten to use the
new-style constant dispatch section (see ExtUtils::Constant).
.IP "\(bu" 4
File::Find is now (again) reentrant. It also has been made
more portable.
.IP "\(bu" 4
File::Glob now supports \f(CW\*(C`GLOB_LIMIT\*(C'\fR constant to limit the
size of the returned list of filenames.
.IP "\(bu" 4
IO::Socket::INET now supports \f(CW\*(C`LocalPort\*(C'\fR of zero (usually meaning
that the operating system will make one up.)
.IP "\(bu" 4
The vars pragma now supports declaring fully qualified variables.
(Something that \f(CW\*(C`our()\*(C'\fR does not and will not support.)
.SH "Utility Changes"
.IX Header "Utility Changes"
.IP "\(bu" 4
The \fIemacs/e2ctags.pl\fR is now much faster.
.IP "\(bu" 4
h2ph now supports C trigraphs.
.IP "\(bu" 4
h2xs uses the new ExtUtils::Constant module which will affect
newly created extensions that define constants. Since the new code is
more correct (if you have two constants where the first one is a
prefix of the second one, the first constant \fBnever\fR gets defined),
less lossy (it uses integers for integer constant, as opposed to the
old code that used floating point numbers even for integer constants),
and slightly faster, you might want to consider regenerating your
extension code (the new scheme makes regenerating easy).
h2xs now also supports C trigraphs.
.IP "\(bu" 4
libnetcfg has been added to configure the libnet.
.IP "\(bu" 4
The \fIPod::Html\fR (and thusly pod2html) now allows specifying
a cache directory.
.SH "New Documentation"
.IX Header "New Documentation"
.IP "\(bu" 4
Locale::Maketext::TPJ13 is an article about software localization,
originally published in The Perl Journal #13, republished here with
kind permission.
.IP "\(bu" 4
More \s-1README\s0.$PLATFORM files have been converted into pod, which also
means that they also be installed as perl$PLATFORM documentation
files. The new files are perlapollo, perlbeos, perldgux,
perlhurd, perlmint, perlnetware, perlplan9, perlqnx,
and perltru64.
.IP "\(bu" 4
The \fITodo\fR and \fITodo\-5.6\fR files have been merged into perltodo.
.IP "\(bu" 4
Use of the \fIgprof\fR tool to profile Perl has been documented in
perlhack. There is a make target \*(L"perl.gprof\*(R" for generating a
gprofiled Perl executable.
.SH "Installation and Configuration Improvements"
.IX Header "Installation and Configuration Improvements"
.Sh "New Or Improved Platforms"
.IX Subsection "New Or Improved Platforms"
.IP "\(bu" 4
\&\s-1AIX\s0 should now work better with gcc, threads, and 64\-bitness. Also the
long doubles support in \s-1AIX\s0 should be better now. See perlaix.
.IP "\(bu" 4
AtheOS ( http://www.atheos.cx/ ) is a new platform.
.IP "\(bu" 4
\&\s-1DG/UX\s0 platform now supports the 5.005\-style threads. See perldgux.
.IP "\(bu" 4
DYNIX/ptx platform (a.k.a. dynixptx) is supported at or near osvers 4.5.2.
.IP "\(bu" 4
Several Mac \s-1OS\s0 (Classic) portability patches have been applied. We
hope to get a fully working port by 5.8.0. (The remaining problems
relate to the changed \s-1IO\s0 model of Perl.) See perlmacos.
.IP "\(bu" 4
Mac \s-1OS\s0 X (or Darwin) should now be able to build Perl even on \s-1HFS+\s0
filesystems. (The case-insensitivity confused the Perl build process.)
.IP "\(bu" 4
NetWare from Novell is now supported. See perlnetware.
.IP "\(bu" 4
The Amdahl \s-1UTS\s0 \s-1UNIX\s0 mainframe platform is now supported.
.Sh "Generic Improvements"
.IX Subsection "Generic Improvements"
.IP "\(bu" 4
In \s-1AFS\s0 installations one can configure the root of the \s-1AFS\s0 to be
somewhere else than the default \fI/afs\fR by using the Configure
parameter \f(CW\*(C`\-Dafsroot=/some/where/else\*(C'\fR.
.IP "\(bu" 4
The version of Berkeley \s-1DB\s0 used when the Perl (and, presumably, the
DB_File extension) was built is now available as
\&\f(CW@Config{qw(db_version_major db_version_minor db_version_patch)}\fR
from Perl and as \f(CW\*(C`DB_VERSION_MAJOR_CFG DB_VERSION_MINOR_CFG
DB_VERSION_PATCH_CFG\*(C'\fR from C.
.IP "\(bu" 4
The Thread extension is now not built at all under ithreads
(\f(CW\*(C`Configure \-Duseithreads\*(C'\fR) because it wouldn't work anyway (the
Thread extension requires being Configured with \f(CW\*(C`\-Duse5005threads\*(C'\fR).
.IP "\(bu" 4
The \f(CW\*(C`B::Deparse\*(C'\fR compiler backend has been so significantly improved
that almost the whole Perl test suite passes after being deparsed. A
make target has been added to help in further testing: \f(CW\*(C`make test.deparse\*(C'\fR.
.SH "Selected Bug Fixes"
.IX Header "Selected Bug Fixes"
.IP "\(bu" 5
The autouse pragma didn't work for Multi::Part::Function::Names.
.IP "\(bu" 5
The behaviour of non-decimal but numeric string constants such as
\&\*(L"0x23\*(R" was platform\-dependent: in some platforms that was seen as 35,
in some as 0, in some as a floating point number (don't ask). This
was caused by Perl using the operating system libraries in a situation
where the result of the string to number conversion is undefined: now
Perl consistently handles such strings as zero in numeric contexts.
.IP "\(bu" 5
dprofpp \-R didn't work.
.IP "\(bu" 5
\&\s-1PERL5OPT\s0 with embedded spaces didn't work.
.IP "\(bu" 5
Sys::Syslog ignored the \f(CW\*(C`LOG_AUTH\*(C'\fR constant.
.Sh "Platform Specific Changes and Fixes"
.IX Subsection "Platform Specific Changes and Fixes"
.IP "\(bu" 4
Some versions of glibc have a broken \fImodfl()\fR. This affects builds
with \f(CW\*(C`\-Duselongdouble\*(C'\fR. This version of Perl detects this brokenness
and has a workaround for it. The glibc release 2.2.2 is known to have
fixed the \fImodfl()\fR bug.
.SH "New or Changed Diagnostics"
.IX Header "New or Changed Diagnostics"
.IP "\(bu" 4
In the regular expression diagnostics the \f(CW\*(C`<< HERE\*(C'\fR marker
introduced in 5.7.0 has been changed to be \f(CW\*(C`<\-\- HERE\*(C'\fR since too
many people found the \f(CW\*(C`<<\*(C'\fR to be too similar to here-document
starters.
.IP "\(bu" 4
If you try to \*(L"pack\*(R" in perlfunc a number less than 0 or larger than 255
using the \f(CW"C"\fR format you will get an optional warning. Similarly
for the \f(CW"c"\fR format and a number less than \-128 or more than 127.
.IP "\(bu" 4
Certain regex modifiers such as \f(CW\*(C`(?o)\*(C'\fR make sense only if applied to
the entire regex. You will an optional warning if you try to do otherwise.
.IP "\(bu" 4
Using arrays or hashes as references (e.g. \f(CW\*(C`%foo\-\*(C'\fR{bar}> has been
deprecated for a while. Now you will get an optional warning.
.SH "Source Code Enhancements"
.IX Header "Source Code Enhancements"
.Sh "\s-1MAGIC\s0 constants"
.IX Subsection "MAGIC constants"
The \s-1MAGIC\s0 constants (e.g. \f(CW'P'\fR) have been macrofied
(e.g. \f(CW\*(C`PERL_MAGIC_TIED\*(C'\fR) for better source code readability
and maintainability.
.Sh "Better commented code"
.IX Subsection "Better commented code"
\&\fIperly.c\fR, \fIsv.c\fR, and \fIsv.h\fR have now been extensively commented.
.Sh "Regex pre\-/post\-compilation items matched up"
.IX Subsection "Regex pre-/post-compilation items matched up"
The regex compiler now maintains a structure that identifies nodes in
the compiled bytecode with the corresponding syntactic features of the
original regex expression. The information is attached to the new
\&\f(CW\*(C`offsets\*(C'\fR member of the \f(CW\*(C`struct regexp\*(C'\fR. See perldebguts for more
complete information.
.Sh "gcc \-Wall"
.IX Subsection "gcc -Wall"
The C code has been made much more \f(CW\*(C`gcc \-Wall\*(C'\fR clean. Some warning
messages still remain, though, so if you are compiling with gcc you
will see some warnings about dubious practices. The warnings are
being worked on.
.SH "New Tests"
.IX Header "New Tests"
Several new tests have been added, especially for the \fIlib\fR subsection.
.PP
The tests are now reported in a different order than in earlier Perls.
(This happens because the test scripts from under t/lib have been moved
to be closer to the library/extension they are testing.)
.SH "Known Problems"
.IX Header "Known Problems"
Note that unlike other sections in this document (which describe
changes since 5.7.0) this section is cumulative containing known
problems for all the 5.7 releases.
.Sh "\s-1AIX\s0"
.IX Subsection "AIX"
.IP "\(bu" 4
In \s-1AIX\s0 4.2 Perl extensions that use \*(C+ functions that use statics
may have problems in that the statics are not getting initialized.
In newer \s-1AIX\s0 releases this has been solved by linking Perl with
the libC_r library, but unfortunately in \s-1AIX\s0 4.2 the said library
has an obscure bug where the various functions related to time
(such as \fItime()\fR and \fIgettimeofday()\fR) return broken values, and
therefore in \s-1AIX\s0 4.2 Perl is not linked against the libC_r.
.IP "\(bu" 4
vac 5.0.0.0 May Produce Buggy Code For Perl
.Sp
The \s-1AIX\s0 C compiler vac version 5.0.0.0 may produce buggy code,
resulting in few random tests failing, but when the failing tests
are run by hand, they succeed. We suggest upgrading to at least
vac version 5.0.1.0, that has been known to compile Perl correctly.
\&\*(L"lslpp \-L|grep vac.C\*(R" will tell you the vac version.
.Sh "Amiga Perl Invoking Mystery"
.IX Subsection "Amiga Perl Invoking Mystery"
One cannot call Perl using the \f(CW\*(C`volume:\*(C'\fR syntax, that is, \f(CW\*(C`perl \-v\*(C'\fR
works, but for example \f(CW\*(C`bin:perl \-v\*(C'\fR doesn't. The exact reason is
known but the current suspect is the \fIixemul\fR library.
.Sh "lib/ftmp\-security tests warn 'system possibly insecure'"
.IX Subsection "lib/ftmp-security tests warn 'system possibly insecure'"
Don't panic. Read \s-1INSTALL\s0 'make test' section instead.
.Sh "Cygwin intermittent failures of lib/Memoize/t/expire_file 11 and 12"
.IX Subsection "Cygwin intermittent failures of lib/Memoize/t/expire_file 11 and 12"
The subtests 11 and 12 sometimes fail and sometimes work.
.Sh "HP-UX lib/io_multihomed Fails When LP64\-Configured"
.IX Subsection "HP-UX lib/io_multihomed Fails When LP64-Configured"
The lib/io_multihomed test may hang in HP-UX if Perl has been
configured to be 64\-bit. Because other 64\-bit platforms do not hang in
this test, HP-UX is suspect. All other tests pass in 64\-bit \s-1HP\-UX\s0. The
test attempts to create and connect to \*(L"multihomed\*(R" sockets (sockets
which have multiple \s-1IP\s0 addresses).
.Sh "HP-UX lib/posix Subtest 9 Fails When LP64\-Configured"
.IX Subsection "HP-UX lib/posix Subtest 9 Fails When LP64-Configured"
If perl is configured with \-Duse64bitall, the successful result of the
subtest 10 of lib/posix may arrive before the successful result of the
subtest 9, which confuses the test harness so much that it thinks the
subtest 9 failed.
.Sh "Linux With Sfio Fails op/misc Test 48"
.IX Subsection "Linux With Sfio Fails op/misc Test 48"
No known fix.
.Sh "\s-1OS/390\s0"
.IX Subsection "OS/390"
\&\s-1OS/390\s0 has rather many test failures but the situation is actually
better than it was in 5.6.0, it's just that so many new modules and
tests have been added.
.PP
.Vb 21
\& Failed Test Stat Wstat Total Fail Failed List of Failed
\& -----------------------------------------------------------------------------
\& ../ext/B/Deparse.t 14 1 7.14% 14
\& ../ext/B/Showlex.t 1 1 100.00% 1
\& ../ext/Encode/Encode/Tcl.t 610 13 2.13% 592 594 596 598
\& 600 602 604-610
\& ../ext/IO/lib/IO/t/io_unix.t 113 28928 5 3 60.00% 3-5
\& ../ext/POSIX/POSIX.t 29 1 3.45% 14
\& ../ext/Storable/t/lock.t 255 65280 5 3 60.00% 3-5
\& ../lib/locale.t 129 33024 117 19 16.24% 99-117
\& ../lib/warnings.t 434 1 0.23% 75
\& ../lib/ExtUtils.t 27 1 3.70% 25
\& ../lib/Math/BigInt/t/bigintpm.t 1190 1 0.08% 1145
\& ../lib/Unicode/UCD.t 81 48 59.26% 1-16 49-64 66-81
\& ../lib/User/pwent.t 9 1 11.11% 4
\& op/pat.t 660 6 0.91% 242-243 424-425
\& 626-627
\& op/split.t 0 9 ?? ?? % ??
\& op/taint.t 174 3 1.72% 156 162 168
\& op/tr.t 70 3 4.29% 50 58-59
\& Failed 16/422 test scripts, 96.21% okay. 105/23251 subtests failed, 99.55% okay.
.Ve
.Sh "op/sprintf tests 129 and 130"
.IX Subsection "op/sprintf tests 129 and 130"
The op/sprintf tests 129 and 130 are known to fail on some platforms.
Examples include any platform using sfio, and Compaq/Tandem's NonStop\-UX.
The failing platforms do not comply with the \s-1ANSI\s0 C Standard, line
19ff on page 134 of \s-1ANSI\s0 X3.159 1989 to be exact. (They produce
something other than \*(L"1\*(R" and \*(L"\-1\*(R" when formatting 0.6 and \-0.6 using
the printf format \*(L"%.0f\*(R", most often they produce \*(L"0\*(R" and \*(L"\-0\*(R".)
.Sh "Failure of Thread tests"
.IX Subsection "Failure of Thread tests"
\&\fBNote that support for 5.005\-style threading remains experimental.\fR
.PP
The following tests are known to fail due to fundamental problems in
the 5.005 threading implementation. These are not new failures\*(--Perl
5.005_0x has the same bugs, but didn't have these tests.
.PP
.Vb 2
\& lib/autouse.t 4
\& t/lib/thr5005.t 19-20
.Ve
.Sh "\s-1UNICOS\s0"
.IX Subsection "UNICOS"
.IP "\(bu" 4
ext/POSIX/sigaction subtests 6 and 13 may fail.
.IP "\(bu" 4
lib/ExtUtils may spuriously claim that subtest 28 failed,
which is interesting since the test only has 27 tests.
.IP "\(bu" 4
Numerous numerical test failures
.Sp
.Vb 5
\& op/numconvert 209,210,217,218
\& op/override 7
\& ext/Time/HiRes/HiRes 9
\& lib/Math/BigInt/t/bigintpm 1145
\& lib/Math/Trig 25
.Ve
.Sp
These tests fail because of yet unresolved floating point inaccuracies.
.Sh "\s-1UTS\s0"
.IX Subsection "UTS"
There are a few known test failures, see perluts.
.Sh "\s-1VMS\s0"
.IX Subsection "VMS"
Rather many tests are failing in \s-1VMS\s0 but that actually more tests
succeed in \s-1VMS\s0 than they used to, it's just that there are many,
many more tests than there used to be.
.PP
Here are the known failures from some compiler/platform combinations.
.PP
\&\s-1DEC\s0 C V5.3\-006 on OpenVMS \s-1VAX\s0 V6.2
.PP
.Vb 9
\& [-.ext.list.util.t]tainted..............FAILED on test 3
\& [-.ext.posix]sigaction..................FAILED on test 7
\& [-.ext.time.hires]hires.................FAILED on test 14
\& [-.lib.file.find]taint..................FAILED on test 17
\& [-.lib.math.bigint.t]bigintpm...........FAILED on test 1183
\& [-.lib.test.simple.t]exit...............FAILED on test 1
\& [.lib]vmsish............................FAILED on test 13
\& [.op]sprintf............................FAILED on test 12
\& Failed 8/399 tests, 91.23% okay.
.Ve
.PP
\&\s-1DEC\s0 C V6.0\-001 on OpenVMS Alpha V7.2\-1 and
Compaq C V6.2\-008 on OpenVMS Alpha V7.1
.PP
.Vb 5
\& [-.ext.list.util.t]tainted..............FAILED on test 3
\& [-.lib.file.find]taint..................FAILED on test 17
\& [-.lib.test.simple.t]exit...............FAILED on test 1
\& [.lib]vmsish............................FAILED on test 13
\& Failed 4/399 tests, 92.48% okay.
.Ve
.PP
Compaq C V6.4\-005 on OpenVMS Alpha 7.2.1
.PP
.Vb 7
\& [-.ext.b]showlex........................FAILED on test 1
\& [-.ext.list.util.t]tainted..............FAILED on test 3
\& [-.lib.file.find]taint..................FAILED on test 17
\& [-.lib.test.simple.t]exit...............FAILED on test 1
\& [.lib]vmsish............................FAILED on test 13
\& [.op]misc...............................FAILED on test 49
\& Failed 6/401 tests, 92.77% okay.
.Ve
.Sh "Win32"
.IX Subsection "Win32"
In multi-CPU boxes there are some problems with the I/O buffering:
some output may appear twice.
.Sh "Localising a Tied Variable Leaks Memory"
.IX Subsection "Localising a Tied Variable Leaks Memory"
.Vb 2
\& use Tie::Hash;
\& tie my %tie_hash => 'Tie::StdHash';
.Ve
.PP
.Vb 1
\& ...
.Ve
.PP
.Vb 1
\& local($tie_hash{Foo}) = 1; # leaks
.Ve
.PP
Code like the above is known to leak memory every time the \fIlocal()\fR
is executed.
.Sh "Self-tying of Arrays and Hashes Is Forbidden"
.IX Subsection "Self-tying of Arrays and Hashes Is Forbidden"
Self-tying of arrays and hashes is broken in rather deep and
hard-to-fix ways. As a stop-gap measure to avoid people from getting
frustrated at the mysterious results (core dumps, most often) it is
for now forbidden (you will get a fatal error even from an attempt).
.Sh "Variable Attributes are not Currently Usable for Tieing"
.IX Subsection "Variable Attributes are not Currently Usable for Tieing"
This limitation will hopefully be fixed in future. (Subroutine
attributes work fine for tieing, see Attribute::Handlers).
.Sh "Building Extensions Can Fail Because Of Largefiles"
.IX Subsection "Building Extensions Can Fail Because Of Largefiles"
Some extensions like mod_perl are known to have issues with
`largefiles', a change brought by Perl 5.6.0 in which file offsets
default to 64 bits wide, where supported. Modules may fail to compile
at all or compile and work incorrectly. Currently there is no good
solution for the problem, but Configure now provides appropriate
non-largefile ccflags, ldflags, libswanted, and libs in the \f(CW%Config\fR
hash (e.g., \f(CW$Config\fR{ccflags_nolargefiles}) so the extensions that are
having problems can try configuring themselves without the
largefileness. This is admittedly not a clean solution, and the
solution may not even work at all. One potential failure is whether
one can (or, if one can, whether it's a good idea) link together at
all binaries with different ideas about file offsets, all this is
platform\-dependent.
.Sh "The Compiler Suite Is Still Experimental"
.IX Subsection "The Compiler Suite Is Still Experimental"
The compiler suite is slowly getting better but is nowhere near
working order yet.
.Sh "The Long Double Support is Still Experimental"
.IX Subsection "The Long Double Support is Still Experimental"
The ability to configure Perl's numbers to use \*(L"long doubles\*(R",
floating point numbers of hopefully better accuracy, is still
experimental. The implementations of long doubles are not yet
widespread and the existing implementations are not quite mature
or standardised, therefore trying to support them is a rare
and moving target. The gain of more precision may also be offset
by slowdown in computations (more bits to move around, and the
operations are more likely to be executed by less optimised
libraries).
.SH "Reporting Bugs"
.IX Header "Reporting Bugs"
If you find what you think is a bug, you might check the articles
recently posted to the comp.lang.perl.misc newsgroup and the perl
bug database at http://bugs.perl.org/ There may also be
information at http://www.perl.com/perl/ , the Perl Home Page.
.PP
If you believe you have an unreported bug, please run the \fBperlbug\fR
program included with your release. Be sure to trim your bug down
to a tiny but sufficient test case. Your bug report, along with the
output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to perlbug@perl.org to be
analysed by the Perl porting team.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
The \fIChanges\fR file for exhaustive details on what changed.
.PP
The \fI\s-1INSTALL\s0\fR file for how to build Perl.
.PP
The \fI\s-1README\s0\fR file for general stuff.
.PP
The \fIArtistic\fR and \fICopying\fR files for copyright information.
.SH "HISTORY"
.IX Header "HISTORY"
Written by Jarkko Hietaniemi <\fIjhi@iki.fi\fR>, with many contributions
from The Perl Porters and Perl Users submitting feedback and patches.
.PP
Send omissions or corrections to <\fIperlbug@perl.org\fR>.
|