summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-07-20 23:18:07 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-07-20 23:18:07 -0700
commit7dbf2beb71242008630175c6aaac814cb97e7785 (patch)
treecdb26e4b2043f287ef032a253a42817ae9590aad /lib
parent5e2699c2b5cca3757bb76a9a8b263138106bcbdb (diff)
downloadperl-7dbf2beb71242008630175c6aaac814cb97e7785.tar.gz
overload.t: Remove a bug workarond
That bug was fixed in 5.14
Diffstat (limited to 'lib')
-rw-r--r--lib/overload.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/overload.t b/lib/overload.t
index 31629c3a8c..12ed55be7c 100644
--- a/lib/overload.t
+++ b/lib/overload.t
@@ -603,8 +603,7 @@ is($c, "bareword");
}
sub TIESCALAR { my $pack = shift; $pack->new(@_) }
sub FETCH { shift }
- sub nop { } # Around a bug
- sub vars { my $p = shift; tie($_, $p), $_->nop foreach @_; }
+ sub vars { my $p = shift; tie($_, $p) foreach @_; }
sub STORE {
my $obj = shift;
$#$obj = 1;