Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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()

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
Node Status?
node history
Node Type: note [id://735520]
help
Chatterbox?
[choroba]: :)
[LanX]: cho: your joke has very limited impact on a non German+Czech speaking board ... we need to create one and invite Lichtkind and "Peta...Monk"

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-03-27 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.