Cross Platform Perl

Adam Clarke Adam.Clarke at
Wed Oct 16 21:42:42 CDT 2002

Hi all,

I'm trying to write a script that runs on Linux (Unix) and Win32. I want 
to /use/ a module when on Win32 (to access the registry) that doesn't 
exist in Unixy perl. Is there a way to skip a use statement at runtime 
based on platform or is the only/best way to make a full build 
(MakeMaker thing) and handle the differences there somehow. If the 
latter, anyone got some simple pointers.


More information about the Melbourne-pm mailing list