in reply to OS-dependent dependencies
You can then access the Win32::Fmode functions by their fully qualified names. Whenever you wish to determine the read/write status of a filehandle you can do something like:if($^O =~ /mswin32/i) {require Win32::Fmode}
Cheers,if($^O =~ /mswin32/i) { # employ the Win32::Fmode functions } else { # employ the Fcntl flags/macro }
|
|---|