Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Set file permissions using Perl in Windows?

by hawtin (Prior)
on Jan 11, 2009 at 15:37 UTC ( [id://735520]=note: print w/replies, xml ) Need Help??


in reply to Set file permissions using Perl in Windows?

Personally I would use:

Win32::File::SetAttributes()

Replies are listed 'Best First'.
Re^2: Set file permissions using Perl in Windows?
by CountZero (Bishop) on Jan 12, 2009 at 06:47 UTC
    According to the (very short) documentation, Win32::File seems to deal only with the "ARCHIVE COMPRESSED DIRECTORY HIDDEN NORMAL OFFLINE READONLY SYSTEM TEMPORARY" attributes. It could not find anything about file permissions.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://735520]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-26 03:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found