Using
stat to get file permissions info on Windows isn't going to give you very much useful, because permissions are managed in a completely different way than on Unix, which is where
stat comes from.
Instead, check out the
Win32::FileSecurity module for methods to get useful info on Windows.
jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.