in reply to Conditional use of Win32::TieRegistry
Hi, see if:
(not sure about the regex, not a Windows user).use if $^O =~ 'MSWin32', 'Win32::TieRegistry';
Hope this helps!
Update: added quoting to module name, see below
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Conditional use of Win32::TieRegistry
by hilitai (Monk) on Nov 13, 2017 at 19:15 UTC | |
by 1nickt (Canon) on Nov 13, 2017 at 20:56 UTC |