summaryrefslogtreecommitdiff
path: root/lib/overloading.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-01-02 09:55:03 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-01-02 09:55:03 +0100
commit23f6cb285656c85849665669b0a13828f0d8b395 (patch)
treeec483d610c8806feceee2c7bdf1050a5117a11cf /lib/overloading.pm
parente46c382ee1a26c0abddc80ad1249dc544d229d4e (diff)
downloadperl-23f6cb285656c85849665669b0a13828f0d8b395.tar.gz
Fix a couple of typos in overloading.pm docs
Diffstat (limited to 'lib/overloading.pm')
-rw-r--r--lib/overloading.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/overloading.pm b/lib/overloading.pm
index 23551ded13..5f3b84ccee 100644
--- a/lib/overloading.pm
+++ b/lib/overloading.pm
@@ -59,7 +59,7 @@ overloading - perl pragma to lexically control overloading
{
no overloading;
- my $str = "$object"; # doesn't call strirngification overload
+ my $str = "$object"; # doesn't call stringification overload
}
# it's lexical, so this stringifies:
@@ -67,7 +67,7 @@ overloading - perl pragma to lexically control overloading
# it can be enabled per op
no overloading qw("");
- warn "$object"
+ warn "$object";
# and also reenabled
use overloading;
@@ -84,7 +84,7 @@ Disables overloading entirely in the current lexical scope.
=item C<no overloading @ops>
-Disables only specific overloads in the current lexical scopes.
+Disables only specific overloads in the current lexical scope.
=item C<use overloading>