I'm getting tired of writing chains like

use Cwd qw(realpath);
use File::Basename;
use File::Path;
use File::Slurp;
use File::Spec::Functions;
use File::Temp;

whenever I write a script that deals with files. Especially since my cycle is "run script, insert missing use line, run script, insert missing use line, repeat...". :)

Is there something like a File::AllUtils that uses and exports a bunch of standard file modules, for some definition of standard? If not, would it be reasonable for me to release one?

I know about Path::Class, which is an interesting approach, but when I use it the stringification trips up just often enough to annoy me. I guess I either prefer or am used to the traditional Perl non-OO functions for file manipulation.

Thanks
Jon

Reply via email to