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

what's wrong with ...
system( "mkdir -p $dirname" );

Replies are listed 'Best First'.
Re^2: Perl API that emulates mkdir -p on unix?
by wolv (Pilgrim) on Jun 13, 2004 at 22:52 UTC
    What about platforms that do not have mkdir? Why rely on external tools at all? That just creates a useless dependency that can't be satisfied on all platforms.