in reply to Re^2: Conditional use of Win32::TieRegistry
in thread Conditional use of Win32::TieRegistry
Sorry, missed quoting the module (necessary if no args provided, like use if CONDITION, MODULE => ARGUMENTS;)
Should be:
... but I'm sure you saw that in the doc I linked to, right?use if $^O =~ 'MSWin32', 'Win32::TieRegistry';
The way forward always starts with a minimal test.
|
---|
In Section
Seekers of Perl Wisdom