Blog

Perl5's File::Path::mkpath equivalent in perl6

Shell::Command::mkpath provides same feature.

> use Shell::Command;
> mkpath("/tmp/x/y/z");

(Shell::Command is bundled)