Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by nysus (Parson)
on May 31, 2020 at 16:23 UTC ( #11117537=note: print w/replies, xml ) Need Help??


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 (Pope) on May 31, 2020 at 18:57 UTC

    I think -t STDOUT would also do it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11117537]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2021-05-06 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (69 votes). Check out past polls.

    Notices?