summaryrefslogtreecommitdiff
path: root/pod/perl591delta.pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-01-26 21:18:31 +0000
committerNicholas Clark <nick@ccl4.org>2004-01-26 21:18:31 +0000
commit1400179bb96df41bb2e0f27ebfd439c299b0cec2 (patch)
tree917483b601c02d90e59bb638ad5520e613ab4675 /pod/perl591delta.pod
parent60dccfd5a897e34df698470801e2ff6a3a5f3c76 (diff)
downloadperl-1400179bb96df41bb2e0f27ebfd439c299b0cec2.tar.gz
Merge dynamic perldelta from maint (22081)
So now perldelta.pod is copied at build time from perl591delta.pod perl590delta.pod is as released to CPAN by Hugo Regen lots of makefiles, pods and the MANIFEST p4raw-id: //depot/perl@22221 p4raw-deleted: from //depot/maint-5.8/perl@22218 'delete in' pod/perldelta.pod (@22072..) p4raw-edited: from //depot/maint-5.8/perl@22081 'edit in' Makefile.SH (@21777..) MANIFEST (@22072..) pod/perltoc.pod (@22073..) vms/descrip_mms.template (@22078..)
Diffstat (limited to 'pod/perl591delta.pod')
-rw-r--r--pod/perl591delta.pod78
1 files changed, 78 insertions, 0 deletions
diff --git a/pod/perl591delta.pod b/pod/perl591delta.pod
new file mode 100644
index 0000000000..9f5b628e4e
--- /dev/null
+++ b/pod/perl591delta.pod
@@ -0,0 +1,78 @@
+=head1 NAME
+
+perldelta - what is new for perl v5.9.1
+
+=head1 DESCRIPTION
+
+This document describes differences between the 5.9.0 release and
+the 5.9.1 release.
+
+=head1 Incompatible Changes
+
+=head1 Core Enhancements
+
+=head2 Tied hashes in scalar context
+
+As of perl 5.8.2, tied hashes did not return anything useful in scalar
+context, for example when used as boolean tests:
+
+ if (%tied_hash) { ... }
+
+The old nonsensical behaviour was always to return false,
+regardless of whether the hash is empty or has elements.
+
+There is now an interface for the implementors of tied hashes to implement
+the behaviour of a hash in scalar context, via the SCALAR method (see
+L<perltie>). Without a SCALAR method, perl will try to guess whether
+the hash is empty, by testing if it's inside an iteration (in this case
+it can't be empty) or by calling FIRSTKEY.
+
+=head1 Modules and Pragmata
+
+=head1 Utility Changes
+
+C<find2perl> now assumes C<-print> as a default action. Previously, it
+needed to be specified explicitly.
+
+=head1 New Documentation
+
+=head1 Performance Enhancements
+
+=head1 Installation and Configuration Improvements
+
+=head1 Selected Bug Fixes
+
+=head1 New or Changed Diagnostics
+
+=head1 Changed Internals
+
+=head1 New Tests
+
+=head1 Known Problems
+
+=head1 Platform Specific Problems
+
+=head1 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/ , the Perl Home Page.
+
+If you believe you have an unreported bug, please run the B<perlbug>
+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 C<perl -V>, will be sent off to perlbug@perl.org to be
+analysed by the Perl porting team.
+
+=head1 SEE ALSO
+
+The F<Changes> file for exhaustive details on what changed.
+
+The F<INSTALL> file for how to build Perl.
+
+The F<README> file for general stuff.
+
+The F<Artistic> and F<Copying> files for copyright information.
+
+=cut