in reply to Win32::File::SetAttributes not numeric?

Looks like perl thinks READONLY is a bareword, not a constant. use Win32::File; should automatically import those constants. Show us your code, especially the part that loads Win32::File.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)