| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Make the order of backslash and forward slash in character classes consistent.
Move the top level modification of $0 adjacent to the top level modification of
$ENV{PERL_CORE}.
|
|
|
|
|
|
|
|
|
| |
8fcfece7bab67639 added code to TestInit to set the CWD and @INC for tests in
ext. However, the regex used to distinguish where a test was had one forward
slash where a backslash should have been, hence the intended Win32 support
would not work. I'm assuming that no-one has noticed this because no-one has
tried to run tests from the command line on Win32 directly, or if they have
they always use forward slashes in their pathnames.
|
|
|
|
|
|
| |
To decide whether to default, we can test $set_opt instead of whether @new_inc
is empty, as all places that assign to @new_inc (now to @INC) also set
$set_opt.
|
| |
|
|
|
|
|
| |
This sets @INC to 'lib, and unless we're already at the top level will
chdir '..' [on the assumption that we are starting in t].
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Both are intended to transform ./perl into ../../perl, one for forward slashes,
one for backslashes.
|
|
|
|
|
|
| |
This ensures (reasonable) consistency with tests in cpan/, dist/ and ext/,
which set this to qw(../../lib ../../t), but are not from t/, hence don't have
t/ implicitly in @INC as '.'
|
| |
|
| |
|
| |
|
| |
|
|
|