Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 studying the Monastery: (4)
As of 2014-08-30 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls