in reply to Perl API that emulates mkdir -p on unix?

$path =~ s[/][\\]g; system "md $path";