On Wed, 12 Oct 2005 10:53:04 -0700, you wrote:

>I liked 
>
>use if $^O eq "MSWin32", "Win32::API";
>
>the best, but settled on using:
>
>BEGIN{
>  if($^O =~ /MSWin32/i){ require Win32::API; }
>}
>
>This is because our Linux base is still operating on Perl 5.6.0, so the really 
>cool conditional 'use' is not recognized.

You'll find "if" on CPAN; it's pure Perl that should work fine with
5.6.x.
-- 
Eric Amick
Columbia, MD
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to