This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
taint-enable lib/overload.t
authorDavid Mitchell <davem@iabyn.com>
Fri, 18 Jun 2010 21:45:45 +0000 (22:45 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sat, 3 Jul 2010 15:25:58 +0000 (16:25 +0100)
commit3340ac375f37f424a40787ccf00c582048903d8d
tree8ec5fbb2e29995d384e940ed50283501b09d6ecc
parent9bac1559a4f8ca714c2348d199ad2a13c4477b0b
taint-enable lib/overload.t

Stick a -T at the top of lib/overload.t in preparation for adding some
taint tests later. This causes some of the current tests to fail, since
the FETCH count has changed: so we fix those up too. They change because
under taint, code like ${$x} is compiled as enter/gvsv/leave/rv2sv rather
than gvsv/rv2sv (see Perl_scope), and the leave creates a mortal copy of
the tied value, avoiding any further fetches.
lib/overload.t