Add the fruits of Larry Shatzer's version verifying script.
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / Command.pm
index bccc76c..bf1e0e5 100644 (file)
@@ -1,6 +1,6 @@
 package ExtUtils::Command;
 
-use 5.005_64;
+use 5.006_001;
 use strict;
 # use AutoLoader;
 use Carp;
@@ -12,7 +12,7 @@ require Exporter;
 our(@ISA, @EXPORT, $VERSION);
 @ISA     = qw(Exporter);
 @EXPORT  = qw(cp rm_f rm_rf mv cat eqtime mkpath touch test_f);
-$VERSION = '1.01';
+$VERSION = '1.02';
 
 =head1 NAME
 
@@ -71,7 +71,7 @@ sub eqtime
  utime((stat($src))[8,9],$dst);
 }
 
-=item rm_f files....
+=item rm_rf files....
 
 Removes directories - recursively (even if readonly)
 
@@ -108,8 +108,8 @@ Makes files exist, with current timestamp
 
 sub touch
 {
- expand_wildcards();
  my $t    = time;
+ expand_wildcards();
  while (@ARGV)
   {
    my $file = shift(@ARGV);               
@@ -177,7 +177,7 @@ Creates directory, including any parent directories.
 
 sub mkpath
 {
- File::Path::mkpath([expand_wildcards()],1,0777);
+ File::Path::mkpath([expand_wildcards()],0,0777);
 }
 
 =item test_f file