An obsoleted diagnostic.
[p5sagit/p5-mst-13.2.git] / pod / perldelta.pod
index 30799d4..b6935b2 100644 (file)
@@ -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