http://qs321.pair.com?node_id=368386


in reply to Re^2: Need help with script to create directories
in thread Need help with script to create directories

From perldoc -f mkdir:

mkdir FILENAME,MASK
   Creates the directory specified by FILENAME, with permissions
   specified by MASK (as modified by "umask").

This means that, even if you specify 0777 as MASK, the actual permissions of the directory will be 0777 & umask. You can set the umask with the function of the same name in Perl or in the shell.

-- 
        dakkar - Mobilis in mobile

Most of my code is tested...

Perl is strongly typed, it just has very few types (Dan)