Cross Platform Perl

Adam Clarke Adam.Clarke at
Wed Oct 16 22:21:39 CDT 2002

One question / clarification (based on my attempt to get this to work).

Shouldn't the below acrually read

    eval 'use My::Module;' ;

instead of the {}'s coz I kept getting the same problem as beffore the 
other way?

Paul Fenwick wrote:
 > BEGIN {        # So we run at the same time as most use statements.
 >    if ($^O eq 'MSWin32') {
 >        eval { use My::Module; }
 >    }
 > }

More information about the Melbourne-pm mailing list