diff options
author | Spider Boardman <spider@orb.nashua.nh.us> | 2001-12-08 19:09:23 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-09 15:00:50 +0000 |
commit | 95f0a2f1ffc68ef908768ec5d39e4102afd28c1e (patch) | |
tree | 6d6c7cf9004e0c6dae9629f09bab6144eeec3347 /pod | |
parent | 5ec554fbe2d22a7213ac94890d84ed925ba9af4b (diff) | |
download | perl-95f0a2f1ffc68ef908768ec5d39e4102afd28c1e.tar.gz |
Re: attributes are broken
Message-Id: <200112090509.AAA02053@Orb.Nashua.NH.US>
p4raw-id: //depot/perl@13543
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 22 | ||||
-rw-r--r-- | pod/perltoc.pod | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 31e9b30435..7c1ddd990f 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -65,6 +65,14 @@ 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 AIX native interface. +=head2 Attributes for C<my> variables now handled at run-time. + +The C<my EXPR : ATTRS> syntax now applies variable attributes at +run-time. (Subroutine and C<our> variables still get attributes applied +at compile-time.) See L<attributes> for additional details. In particular, +however, this allows variable attributes to be useful for C<tie> interfaces, +which was a deficiency of earlier releaes. + =head2 Socket Extension Dynamic in VMS The Socket extension is now dynamically loaded instead of being @@ -681,7 +689,7 @@ to Quoted-Printable. See L<PerlIO::Via>. =item * C<Pod::ParseLink>, by Russ Allbery, has been added, -to parse L<> links in pods as described in the new +to parse LZ<><> links in pods as described in the new perlpodspec. =item * @@ -2221,7 +2229,8 @@ Made possible to propagate customised exceptions via croak()ing. =item * -Now xsubs can have attributes just like subs. +Now xsubs can have attributes just like subs. (Well, at least the +built-in attributes.) =item * @@ -2509,15 +2518,6 @@ 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). -=head2 Variable Attributes are not Currently Usable for Tieing - -This limitation will hopefully be fixed in future. (Subroutine -attributes work fine for tieing, see L<Attribute::Handlers>). - -One way to run into this limitation is to have a loop variable with -attributes within a loop: the tie is called only once, not for each -iteration of the loop. - =head2 Building Extensions Can Fail Because Of Largefiles Some extensions like mod_perl are known to have issues with diff --git a/pod/perltoc.pod b/pod/perltoc.pod index 9467051171..81e202cd63 100644 --- a/pod/perltoc.pod +++ b/pod/perltoc.pod @@ -4991,6 +4991,8 @@ I<The Road goes ever on and on, down from the door where it began.> =item AIX Dynaloading +=item Attributes for C<my> variables now handled at run-time. + =item Socket Extension Dynamic in VMS =item IEEE-format Floating Point Default on OpenVMS Alpha @@ -5101,8 +5103,6 @@ I<The Road goes ever on and on, down from the door where it began.> =item Self-tying of Arrays and Hashes Is Forbidden -=item Variable Attributes are not Currently Usable for Tieing - =item Building Extensions Can Fail Because Of Largefiles =item Unicode Support on EBCDIC Still Spotty |