http://www.perlmonks.org?node_id=351076


in reply to Re: Trojan Perl Distributions
in thread Trojan Perl Distributions

This isn't guaranteed, but may be useful. As part of smoke testing an environment variable is set to know whether automated testing or manual testing is being performed. This is then used to determine whether a text editor needs to be invoked to allow the tester to make additional comments.

something like...

my $autotesting = 1 if($ENV{VISUAL} eq 'echo');
... might work. Unfortunately I cannot test this myself, as I'm about to head off to a London.pm social meeting :)

--
Barbie | Birmingham Perl Mongers | http://birmingham.pm.org/