in reply to Creating multiple level directory structure

mkdir -p Logs/UnitTest/foo

Update: As toolic notes below, 'mkdir -p' is indeed for the Linux command. In my reading of the OP, I got the words 'Linux' and 'function' and jumped to the conclusion that he was after something like:

system('mkdir Logs/UnitTest/foo');

which may certainly *not* be the case.

Replies are listed 'Best First'.
Re^2: Creating multiple level directory structure
by toolic (Bishop) on Aug 11, 2010 at 14:22 UTC
    Just to be explicitly clear, mkdir -p is for the Unix mkdir command (which could be invoked from perl using system), not the Perl builtin mkdir function.