Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How to Test Output from the Standard Output

by GrandFather (Saint)
on Jun 10, 2010 at 03:28 UTC ( [id://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 perusing the Monastery: (2)
As of 2024-04-16 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found