summaryrefslogtreecommitdiff
path: root/lib/overload.t
diff options
context:
space:
mode:
authorjkeenan <jkeenan@cpan.org>2011-11-19 19:37:03 -0500
committerFather Chrysostomos <sprout@cpan.org>2011-11-22 16:27:16 -0800
commit1f874cb6cda8ff355ea232af026e2429ee2e9afb (patch)
tree75533a26f98febd58176f2c8a499380ed20d8055 /lib/overload.t
parent19f4563d308d36e3c082bc240db976a379fddfc6 (diff)
downloadperl-1f874cb6cda8ff355ea232af026e2429ee2e9afb.tar.gz
[RT #36079] Convert ` to '.
Diffstat (limited to 'lib/overload.t')
-rw-r--r--lib/overload.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/overload.t b/lib/overload.t
index 1021a5f24a..5d6e38d382 100644
--- a/lib/overload.t
+++ b/lib/overload.t
@@ -297,7 +297,7 @@ like($@, qr/no method found/);
bless \$x, Oscalar;
$na = eval { ~$a }; # Hash updated
-warn "`$na', $@" if $@;
+warn "'$na', $@" if $@;
ok !$@;
is($na, '_!_xx_!_');
@@ -935,25 +935,25 @@ unless ($aaa) {
}
{
- # check the `$_[0]' is not an overloadable type warning
+ # check the '$_[0]' is not an overloadable type warning
my $a = "" ;
local $SIG{__WARN__} = sub {$a = $_[0]} ;
$x = eval ' overload::constant "fred" => sub {} ; ' ;
is($a, "");
use warnings 'overload' ;
$x = eval ' overload::constant "fred" => sub {} ; ' ;
- like($a, qr/^`fred' is not an overloadable type at/);
+ like($a, qr/^'fred' is not an overloadable type at/);
}
{
- # check the `$_[1]' is not a code reference warning
+ # check the '$_[1]' is not a code reference warning
my $a = "" ;
local $SIG{__WARN__} = sub {$a = $_[0]} ;
$x = eval ' overload::constant "integer" => 1; ' ;
is($a, "");
use warnings 'overload' ;
$x = eval ' overload::constant "integer" => 1; ' ;
- like($a, qr/^`1' is not a code reference at/);
+ like($a, qr/^'1' is not a code reference at/);
}
{