While the thought is still fresh in my head... Please, use
Win32::FileSecurity. It's much easier to use than Win32::Perms and does the exact same thing. Not only that, but it provides a MakeMask function that will convert an or'd group of attributes into a bitmask. It comes in very handy. Also, Win32::FileSecurity works on directories that are accessed via sharepoints (something that Win32::Perms cannot).
I will post an update with a snippet of code when I get to my office.
Theodore Charles III
Network Administrator
Los Angeles Senior High
4650 W. Olympic Blvd.
Los Angeles, CA 90019
323-937-3210 ext. 224
email->secon_kun@hotmail.com
perl -e "map{print++$_}split//,Mdbnr;"