[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Portable code



I ported my program to the Mac and got it working, and then wrapped up the 
Mac specific stuff in a 

if ( $^O =~ /macos/i ) { Mac code }

block.  But when I move it to a UNIX box, the Mac 'use MacModule;' statements 
cause the program to die ('cause the UNIX box is missing them).  How do I hide
them from the interpreter when the program isn't running on a Mac?

Thanks,

Jim Lund
jsl21053@welch.jhu.edu




===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org