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

nysus has asked for the wisdom of the Perl Monks concerning the following question:

Given this test in test.t:

#/usr/bin/env perl use Test::More; use strict; use warnings; use Proc::InvokeEditor; my $edited_text = Proc::InvokeEditor->edit('edit me'); is $edited_text, "edit you\n", 'can edit text'; done_testing();

The Proc::InvokeEditor spawns a new editor instance. When this test is run with prove test.t, you get:

test.t .. Vim: Warning: Output is not to a terminal

The test runs fine with perl test.t. What's the best fix for this?

$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