http://qs321.pair.com?node_id=11117537


in reply to Re: Running an editor in a test with "prove" command
in thread Running an editor in a test with "prove" command

Nice. I was scratching my head wondering if there was a way I could determine if I was running the script as a test or not. IO::Interactive is exactly what I needed. Thanks!

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

  • Comment on Re^2: Running an editor in a test with "prove" command

Replies are listed 'Best First'.
Re^3: Running an editor in a test with "prove" command
by ikegami (Patriarch) on May 31, 2020 at 18:57 UTC

    I think -t STDOUT would also do it.