Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to Test Output from the Standard Output

by GrandFather (Saint)
on Jun 10, 2010 at 03:28 UTC ( #843963=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Test_Package;
    
    ...
    close $logFile;
    
    is($log, 'okay', 'Testing okay');
    
  2. or download this
    1..1
    not ok 1 - Testing okay
    ...
    #          got: 'okay.'
    #     expected: 'okay'
    # Looks like you failed 1 test of 1.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2023-12-10 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (38 votes). Check out past polls.

    Notices?