On Aug 22, 2:11 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote: > Wagner, David --- Senior Programmer Analyst --- WGO wrote: > > > Any insights would be greatly appreciated on getting owner of a > > file under Win32. > > There is a Win32::File module with a GetAttributes() function. Sounds > promising, doesn't it? > > However, reading the docs for that module makes me feel stupid: > > <quote> > GetAttributes(filename, returnedAttributes) > Gets the attributes of a file or directory. returnedAttributes > will be set to the OR-ed combination of the filename > attributes. > </quote> > > What on earth is an "OR-ed combination"? Anybody who can translate that > para in the POD to English ( or Swedish ;-) )?
It's something along the lines of: $READONLY = 1; $LOCKED = 2; $HIDDEN = 4; #etc $attr = $READONLY | $HIDDEN; Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/