In TestInit.pm, move the default chdir and @INC code into import().
authorNicholas Clark <nick@ccl4.org>
Sun, 19 Jun 2011 17:10:51 +0000 (19:10 +0200)
committerNicholas Clark <nick@ccl4.org>
Wed, 22 Jun 2011 20:41:12 +0000 (22:41 +0200)
commitb6800926e4030bbaf8f4b22cba1727acaf7da13e
tree796bee68979d684ace7a912f62d72013a133a09c
parent5c9e8bc6ba75f5bdb1d7a63a4d6ef0d6d5adc283
In TestInit.pm, move the default chdir and @INC code into import().

The behaviour is consistent with previous behaviour, as the equivalent of the
new code used to be run at the top level, hence would happen (unconditionally)
before import() was called.
TestInit.pm