the pod tests were not okay. (t/pod/find.t changes ignored)
p4raw-link: @9624 on //depot/maint-5.6/perl:
cf1c4a97376b5a495969381e18662a86af89c73a
p4raw-id: //depot/perl@9643
p4raw-integrated: from //depot/maint-5.6/perl@9642 'copy in'
t/pod/emptycmd.t t/pod/for.t t/pod/headings.t t/pod/include.t
t/pod/included.t t/pod/lref.t t/pod/multiline_items.t
t/pod/nested_items.t t/pod/nested_seqs.t t/pod/oneline_cmds.t
t/pod/pod2usage.t t/pod/poderrs.t t/pod/podselect.t (@7885..)
t/pod/special_seqs.t (@7893..) 'merge in' lib/Pod/Find.pm
(@8727..)
# * remove e.g. 5.00503
# * remove pod/ if followed by *.pod (e.g. in pod/perlfunc.pod)
$SIMPLIFY_RX =
- qq!^(?i:site_perl/|\Q$Config::Config{archname}\E/|\\d+\\.\\d+([_.]?\\d+)?/|pod/(?=.*?\\.pod\\z))*!;
+ qq!^(?i:site(_perl)?/|\Q$Config::Config{archname}\E/|\\d+\\.\\d+([_.]?\\d+)?/|pod/(?=.*?\\.pod\\z))*!;
}
# strip Perl's own extensions
$_[0] =~ s/\.(pod|pm|plx?)\z//i;
# strip meaningless extensions on Win32 and OS/2
- $_[0] =~ s/\.(bat|exe|cmd)\z//i if($^O =~ /win|os2/i);
+ $_[0] =~ s/\.(bat|exe|cmd)\z//i if($^O =~ /mswin|os2/i);
# strip meaningless extensions on VMS
$_[0] =~ s/\.(com)\z//i if($^O eq 'VMS');
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testpchk.pl";
import TestPodChecker;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ unshift @INC, './pod';
require "testp2pt.pl";
import TestPodIncPlainText;
}