summaryrefslogtreecommitdiff
path: root/lib/File
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-03-17 10:18:21 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-03-17 10:18:21 +0000
commitf360dba143c864a53fdb1573b40795cfe2331220 (patch)
tree261c1c2d605178381f828a22d0dc812732babf5e /lib/File
parent79dd614e1e8c3b0e4ed35016e6971240b606da64 (diff)
downloadperl-f360dba143c864a53fdb1573b40795cfe2331220.tar.gz
Use $^O
Diffstat (limited to 'lib/File')
-rw-r--r--lib/File/Path.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/File/Path.pm b/lib/File/Path.pm
index 8a17173b0d..97cb66855d 100644
--- a/lib/File/Path.pm
+++ b/lib/File/Path.pm
@@ -91,13 +91,12 @@ This module was last revised 14-Feb-1996, for perl 5.002. $VERSION is
$VERSION = "1.01"; # That's my hobby-horse, A.K.
require 5.000;
-use Config;
use Carp;
require Exporter;
@ISA = qw( Exporter );
@EXPORT = qw( mkpath rmtree );
-$Is_VMS = $Config{'osname'} eq 'VMS';
+$Is_VMS = $^O eq 'VMS';
sub mkpath {
my($paths, $verbose, $mode) = @_;