in reply to Re: including modules during runtime and dealing with OS specific (constants) code block
in thread including modules during runtime and dealing with OS specific (constants) code block
I'm uncertain how to get by your problem without turning off strict/warnings for that issue locally in your scope.
In general, make barewords that would otherwise be function calls look to the parser like function calls:
if ($attrib & (Win32::File::SYSTEM() | Win32::File::HIDDEN())) { ... }
That's untested. You might have to use the prefix & instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: including modules during runtime and dealing with OS specific (constants) code block
by periferral (Novice) on Aug 02, 2011 at 04:20 UTC |