Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by nysus (Parson)
on May 31, 2020 at 16:23 UTC ( [id://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 (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11117537]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-20 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found