Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Test::More Too Verbose

by toolic (Bishop)
on Mar 25, 2010 at 23:43 UTC ( [id://831001]=note: print w/replies, xml ) Need Help??


in reply to Test::More Too Verbose

By default, backticks only capture STDOUT, not STDERR. The 'uninitialized' message appears on STDERR. To capture both STDOUT and STDERR, use:
my $test_ls = `lxs 2>&1`;
That will remove the warning message.

I was browsing around CPAN, and I stumbled uopn Test::Cmd. I have never tried it, but it does seem relevant.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-20 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found