diff options
Diffstat (limited to 'lib/diagnostics.pm')
-rwxr-xr-x | lib/diagnostics.pm | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm index c3e5b93f20..31e7670b82 100755 --- a/lib/diagnostics.pm +++ b/lib/diagnostics.pm @@ -1,18 +1,4 @@ -#!/usr/local/bin/perl -eval 'exec perl -S $0 ${1+"$@"}' - if 0; - -use Config; -if ($^O eq 'VMS') { - $diagnostics::PODFILE = VMS::Filespec::unixify($Config{'privlibexp'}) . - '/pod/perldiag.pod'; -} -else { $diagnostics::PODFILE= $Config{privlibexp} . "/pod/perldiag.pod"; } - package diagnostics; -require 5.001; -use English; -use Carp; =head1 NAME @@ -176,6 +162,18 @@ Tom Christiansen F<E<lt>tchrist@mox.perl.comE<gt>>, 25 June 1995. =cut +require 5.001; +use English; +use Carp; + +use Config; +if ($^O eq 'VMS') { + $PODFILE = VMS::Filespec::unixify($Config{privlibexp}).'/pod/perldiag.pod'; +} +else { + $PODFILE = $Config{privlibexp} . "/pod/perldiag.pod"; +} + $DEBUG ||= 0; my $WHOAMI = ref bless []; # nobody's business, prolly not even mine |