Change 16397 by jhi@alpha on 2002/05/04 16:54:40
Subject: [PATCH lib/overload.pm] "\"\""
From: Michael G Schwern <[EMAIL PROTECTED]>
Date: Sat, 4 May 2002 13:17:44 -0400
Message-ID: <20020504171743.GD640@blackrider>
Affected files ...
.... //depot/perl/lib/overload.pm#27 edit
Differences ...
==== //depot/perl/lib/overload.pm#27 (text) ====
Index: perl/lib/overload.pm
--- perl/lib/overload.pm.~1~ Sat May 4 11:00:05 2002
+++ perl/lib/overload.pm Sat May 4 11:00:05 2002
@@ -333,9 +333,9 @@
"**", "**=", "<<", "<<=", ">>", ">>=", "x", "x=", ".", ".=",
For these operations a substituted non-assignment variant can be called if
-the assignment variant is not available. Methods for operations "C<+>",
-"C<->", "C<+=>", and "C<-=>" can be called to automatically generate
-increment and decrement methods. The operation "C<->" can be used to
+the assignment variant is not available. Methods for operations C<+>,
+C<->, C<+=>, and C<-=> can be called to automatically generate
+increment and decrement methods. The operation C<-> can be used to
autogenerate missing methods for unary minus or C<abs>.
See L<"MAGIC AUTOGENERATION">, L<"Calling Conventions for Mutators"> and
@@ -355,10 +355,10 @@
"&", "^", "|", "neg", "!", "~",
-"C<neg>" stands for unary minus. If the method for C<neg> is not
+C<neg> stands for unary minus. If the method for C<neg> is not
specified, it can be autogenerated using the method for
-subtraction. If the method for "C<!>" is not specified, it can be
-autogenerated using the methods for "C<bool>", or "C<\"\">", or "C<0+>".
+subtraction. If the method for C<!> is not specified, it can be
+autogenerated using the methods for C<bool>, or C<"">, or C<0+>.
=item * I<Increment and decrement>
@@ -382,11 +382,11 @@
=item * I<Boolean, string and numeric conversion>
- "bool", "\"\"", "0+",
+ 'bool', '""', '0+',
If one or two of these operations are not overloaded, the remaining ones can
be used instead. C<bool> is used in the flow control operators
-(like C<while>) and for the ternary "C<?:>" operation. These functions can
+(like C<while>) and for the ternary C<?:> operation. These functions can
return any arbitrary Perl value. If the corresponding operation for this value
is overloaded too, that operation will be called again with this value.
End of Patch.