From: Michael G. Schwern Date: Sat, 4 May 2002 13:17:44 +0000 (-0400) Subject: "\"\"" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fa8a65806e20ffb61be982ce30fb168cdf5716ef;p=p5sagit%2Fp5-mst-13.2.git "\"\"" Message-ID: <20020504171743.GD640@blackrider> p4raw-id: //depot/perl@16397 --- diff --git a/lib/overload.pm b/lib/overload.pm index 838c91f..1cde642 100644 --- a/lib/overload.pm +++ b/lib/overload.pm @@ -333,9 +333,9 @@ The following symbols can be specified in C directive: "**", "**=", "<<", "<<=", ">>", ">>=", "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. See L<"MAGIC AUTOGENERATION">, L<"Calling Conventions for Mutators"> and @@ -355,10 +355,10 @@ arrays, C is used to compare values subject to C. "&", "^", "|", "neg", "!", "~", -"C" stands for unary minus. If the method for C is not +C stands for unary minus. If the method for C 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", or "C<\"\">", or "C<0+>". +subtraction. If the method for C is not specified, it can be +autogenerated using the methods for C, or C<"">, or C<0+>. =item * I @@ -382,11 +382,11 @@ C<0+>. =item * I - "bool", "\"\"", "0+", + 'bool', '""', '0+', If one or two of these operations are not overloaded, the remaining ones can be used instead. C is used in the flow control operators -(like C) and for the ternary "C" operation. These functions can +(like C) 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.