in reply to "mkdir -p" equivalent?

 Others have already answered - but if you want a literal equivilent you could do worse than look at the Perl Power Tools project.

 This aims to rewrite lots of standard utilities in pure perl.

Steve
---
steve.org.uk