diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-21 23:43:40 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-21 23:43:40 +0000 |
commit | 10d9c778f985d5d6d434ffb325e0b7b1d8369cb5 (patch) | |
tree | 718f68bd9c4821faf237428cd74423918e116d7a | |
parent | 8268a68bfd931f2db9ae71a6f121d5a881e16a4d (diff) | |
download | perl-10d9c778f985d5d6d434ffb325e0b7b1d8369cb5.tar.gz |
An obsoleted diagnostic.
p4raw-id: //depot/perl@6762
-rw-r--r-- | pod/perldelta.pod | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 30799d443f..b6935b2699 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -1019,6 +1019,22 @@ This is admittedly not a clean solution. =head1 Obsolete Diagnostics +=over 4 + +=item In string, @%s now must be written as \@%s + +(F) It used to be that Perl would try to guess whether you wanted an +array interpolated or a literal @. It did this when the string was +first used at runtime. Now strings are parsed at compile time, and +ambiguous instances of @ must be disambiguated, either by prepending a +backslash to indicate a literal, or by declaring (or using) the array +within the program before the string (lexically). (I<Someday it will +simply assume that an unbackslashed @ interpolates an array.>) + +=back + +That day has arrived. + =head1 Reporting Bugs If you find what you think is a bug, you might check the articles |