in reply to Re^2: Win32::File::SetAttributes not numeric?
in thread Win32::File::SetAttributes not numeric?
I am currently using the pragmas use strict; use warnings; use diagnostics;
I'd much prefer to keep the use Win32::File;at the top of the package, but apparently my module doesn't like that.The subroutine contains the following:
.. and the error with use Win32::File; at the top of the package is still...my $setROattr = READONLY; my $unsetROattr = ~READONLY; # set file attributes to allow editing Win32::File::SetAttributes($file, $unsetROattr);
Thanks for the help!Argument "READONLY" isn't numeric in subroutine entry
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Win32::File::SetAttributes not numeric?
by ikegami (Patriarch) on Jun 05, 2009 at 19:57 UTC | |
by mcarthey (Novice) on Jun 05, 2009 at 20:02 UTC | |
by ikegami (Patriarch) on Jun 05, 2009 at 20:10 UTC | |
|
Re^4: Win32::File::SetAttributes not numeric?
by afoken (Chancellor) on Jun 06, 2009 at 06:38 UTC | |
by mcarthey (Novice) on Jun 08, 2009 at 14:25 UTC |