summaryrefslogtreecommitdiff
path: root/lib/diagnostics.pm
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-06-21 20:42:38 +0100
committerNicholas Clark <nick@ccl4.org>2010-06-23 08:52:45 +0100
commitf64e7edf51fa6878ada89003ea04b8672baadbb3 (patch)
tree304ba4ed70a16fe4fb9b9d64829dace2a8845f33 /lib/diagnostics.pm
parent2b894b7afaeab63c3565bccc12e75832831eb18f (diff)
downloadperl-f64e7edf51fa6878ada89003ea04b8672baadbb3.tar.gz
Remove MacOS classic support from blib, diagnostics and Term::ReadLine.
ExtUtils::MakeMaker removed MacOS support in 6.25, merged to blead in December 2004, so this code is vestigial, and a small runtime penalty.
Diffstat (limited to 'lib/diagnostics.pm')
-rw-r--r--lib/diagnostics.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm
index 721b466fd0..f694e3f427 100644
--- a/lib/diagnostics.pm
+++ b/lib/diagnostics.pm
@@ -185,7 +185,7 @@ use 5.009001;
use Carp;
$Carp::Internal{__PACKAGE__.""}++;
-our $VERSION = '1.19';
+our $VERSION = '1.20';
our $DEBUG;
our $VERBOSE;
our $PRETTY;
@@ -211,12 +211,6 @@ my @trypod = (
unshift @trypod, "./pod/perldiag.pod" if -e "pod/perldiag.pod";
(my $PODFILE) = ((grep { -e } @trypod), $trypod[$#trypod])[0];
-if ($^O eq 'MacOS') {
- # just updir one from each lib dir, we'll find it ...
- ($PODFILE) = grep { -e } map { "$_:pod:perldiag.pod" } @INC;
-}
-
-
$DEBUG ||= 0;
my $WHOAMI = ref bless []; # nobody's business, prolly not even mine