Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2023-01-27 14:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?