in reply to Re: Problem with ActiveState's Win32::File module
in thread Problem with ActiveState's Win32::File module

NORMAL is no bits set. So you obviously can't use that to change anything! But it's used in directory list filtering and in creating files with the desired attributes.

—John

(P.S. the value of the constant is actually 128. But ORing that in doesn't make the other bits (READONLY=1) go away. Perhaps setting it, not ORing it in, works.)

  • Comment on Re: Re: Problem with ActiveState's Win32::File module