I have this test program:
It outputs this when run with prove -lvm:#! /usr/bin/env perl $| = 1; print "test"; print "\n"; print 'Enter: '; <STDIN>
test.pl .. test
Notice that the Enter: prompt doesn't appear and is getting buffered. I tried various tricks with IO::Handle and other suggestions I googled but none of them worked. I'm on a Mac, Perl ver. 5.24.
$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
In reply to Outputting input prompt with prove by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |