in reply to Re: dynamic loading modules
in thread dynamic loading modules

I am already inside an If on the Os 'MSWin32', and do NOT have any 'use Win32' coded anywhere in my application.

the code works fine, and requires these missing win32 modules when compiled on the unix platforms.

I don't know what makes it work as is

Replies are listed 'Best First'.
Re^3: dynamic loading modules
by choroba (Cardinal) on Sep 03, 2012 at 15:41 UTC
    use if is not an if. It moves the decision whether to use the module or not into the compilation phase (as BEGIN does).
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ