Perl has a mkdir function built in, there's no need to rely on an external command.
In reply to Re^2: Handling returns from mkdir. by marto in thread Handling returns from mkdir. by dannyd