in reply to How to do a conditional load of a module ?
This ought to work, use if $^O =~ /win32/i, 'Win32'; That uses if.pm.
After Compline,Zaxo