From: Dagfinn Ilmari Mannsåker Date: Sat, 12 Sep 2015 12:43:48 +0000 (+0100) Subject: Update documentation for starting point change in version 1.5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FTest-EOL.git;a=commitdiff_plain;h=7713e1044ccb82ba7642eda6852fe043c076c1ec Update documentation for starting point change in version 1.5 Commit 856d7ba updated the code, but not the docs. Also remove unused $updir variable left behind by the same commit. --- diff --git a/Changes b/Changes index 77c0b52..1888445 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,9 @@ Revision history for Test-EOL {{$NEXT}} + - Update documentation for starting point change in version 1.5 + (Dagfinn Ilmari MannsÃ¥ker) + 1.6 2015-07-30 21:51:00-07:00 America/Los_Angeles - Add 'no_test' import option to allow more composability (Arthur Axel fREW Schmidt) diff --git a/lib/Test/EOL.pm b/lib/Test/EOL.pm index 860e427..a54e24b 100644 --- a/lib/Test/EOL.pm +++ b/lib/Test/EOL.pm @@ -22,7 +22,6 @@ my %file_find_arg = ($] <= 5.006) ? () : ( ); my $Test = Test::Builder->new; -my $updir = File::Spec->updir(); my $no_plan; @@ -245,8 +244,8 @@ if you don't export anything, such as for a purely object-oriented module. all_perl_files_ok( [ \%options ], [ @directories ] ) Applies C to all perl files found in C<@directories> (and sub -directories). If no <@directories> is given, the starting point is one level -above the current running script, that should cover all the files of a typical +directories). If no <@directories> is given, the starting point is the current +working directory, as tests are usually run from the top directory in a typical CPAN distribution. A perl file is *.pl or *.pm or *.t or a file starting with C<#!...perl>