[Perl-unix-users] How to find file permissions?

2001-01-14 Thread Nikola Knezevic
How can I find file permission (opposite of chmod??) fcntl() doesn't do what I need... -- +- -- - --- [ http://users.hemo.net/indy ] -- - Knezevic Nikola :: [EMAIL PROTECTED] hemo.net - --- -- - =====-===---+ _

Re: [Perl-unix-users] How to find file permissions?

2001-01-14 Thread Nikola Knezevic
Dana 14.01.01, Nikola Knezevic napisa: > How can I find file permission (opposite of chmod??) > fcntl() doesn't do what I need... Never mind, I found what I've been searching for - stat()... BTW, how to copy a file, but to preserve permissions and status. File::Copy doesn't work as expected. --