On Wed, Jun 12, 2002 at 11:02:02AM -0400, Jason Rennie wrote:
> That would work okay for people who use the module on unix, since I think
> most of them set the environment variable anyway...
Well, make that
die 'Please set $ENV{WNHOME}'
unless $^O eq 'MSWin32' or exists $ENV{WNHOME};
should solve the problem.
> Can you simply not run automatic tests on my module? Previously, tests
> were run by hand. They didn't happen immediately after I uploaded my
> module, but the delay didn't cause any problems.
Well, you can do this in Makefile.PL to skip automatic testing altogether:
die 'Smoking is bad for your health!'
if $ENV{VISUAL} eq 'echo';
But that won't be very desirable, since smokers that _does_ have wordnet
installed on their computers would report meaningful responses.
Thanks,
/Autrijus/