summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/overload.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/overload.pm b/lib/overload.pm
index f107d83d09..eb39c94f7a 100644
--- a/lib/overload.pm
+++ b/lib/overload.pm
@@ -1604,6 +1604,11 @@ The arguments should come in pairs.
to be a code reference. Either an anonymous subroutine, or a reference
to a subroutine.
+=item overload arg '%s' is invalid
+
+(W) C<use overload> was passed an argument it did not
+recognize. Did you mistype an operator?
+
=back
=head1 BUGS AND PITFALLS