This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In overload.t, move require './test.pl' into BEGIN to avoid stubbing subs.
authorNicholas Clark <nick@ccl4.org>
Sun, 13 Mar 2011 15:20:07 +0000 (15:20 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 13 Mar 2011 15:20:07 +0000 (15:20 +0000)
commitcb07477ea9af3a143e6227a4db7952cd7b78dd76
tree6a638f22e678efa08a3ba99f5766797ceecfaf39
parentead3e2795abc84cb11c00e977613ee250337ac2f
In overload.t, move require './test.pl' into BEGIN to avoid stubbing subs.

Also move the use of strict and warnings after the BEGIN block, so that they
can take advantage of the @INC setting it performs. Swap to done_testing().
t/re/overload.t