oruse File::Path 2.07 qw( make_path remove_tree ); make_path("...");
use File::Path qw( mkpath rmtree ); mkpath("...");
The first will provide a better error message if the desired module is not available.
$ perl -e'use File::Path 2.07 qw( make_path remove_tree );' File::Path version 2.07 required--this is only version 2.04 at -e line + 1. BEGIN failed--compilation aborted at -e line 1.
The second is backwards compatible.
In reply to Re: FILE::PATH question
by ikegami
in thread FILE::PATH question
by erbin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |