in reply to Re: use Win2000; and alike
in thread use Win2000; and alike

Well, as the original author mentions, it would be nicely consistent with use 5.6.0 for Perl-versions... and anyway, TIMTOWTDI!

BrotherAde

Replies are listed 'Best First'.
Re^3: use Win2000; and alike
by tadman (Prior) on Jun 06, 2002 at 08:57 UTC
    Come on, you can figure it out.
    package Windows; use Carp; sub import { croak "This program needs Windows" unless ($^O eq 'Win32'); } sub unimport { croak "This program refuses to use Windows" if ($^O eq 'Win32'); } 1;