use File::Path qw( mkpath rmtree ); mkpath("...");