Skip to content

Commit

Permalink
Fix File::Path calls for older File::Path versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Blin committed Aug 23, 2010
1 parent 7020019 commit b1f171e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions t/SeqIO/mbsout.t
Expand Up @@ -3,7 +3,7 @@ use version;
our $API_VERSION = qv('1.1.3');

use strict;
use File::Path qw(make_path remove_tree);
use File::Path qw(mkpath rmtree);

BEGIN {
use lib '.'; # for core package test scripts only
Expand Down Expand Up @@ -34,7 +34,7 @@ sub create_dir {
$dir = test_input_file($dir);

unless ( -d $dir ) {
make_path($dir);
mkpath($dir);
}
}

Expand Down
6 changes: 3 additions & 3 deletions t/SeqIO/msout.t
Expand Up @@ -3,7 +3,7 @@ use version;
our $API_VERSION = qv('1.1.5');

use strict;
use File::Path qw(make_path remove_tree);
use File::Path qw(mkpath rmtree);

BEGIN {
use lib '.'; # for core package test scripts only
Expand Down Expand Up @@ -36,7 +36,7 @@ sub create_dir {
$dir = test_input_file($dir);

unless ( -d $dir ) {
make_path($dir);
mkpath($dir);
}
}

Expand All @@ -47,7 +47,7 @@ sub remove_dir {
$dir = test_input_file($dir);

if ( -d $dir ) {
remove_tree($dir);
rmtree($dir);
}
else { warn "Tried to remove $dir, but it does not exist" }
}
Expand Down

0 comments on commit b1f171e

Please sign in to comment.