Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Set file permissions using Perl in Windows?

by hawtin (Prior)
on Jan 11, 2009 at 15:37 UTC ( #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()


Comment on Re: Set file permissions using Perl in Windows?
Download Code
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
Node Status?
node history
Node Type: note [id://735520]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-12-26 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls