Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Syntactic Confectionery Delight
 
PerlMonks  

Re: Test::Harness: Calling a script with proper @INC

by chromatic (Archbishop)
on Jul 17, 2011 at 17:08 UTC ( #914975=note: print w/ replies, xml ) Need Help??


in reply to Test::Harness: Calling a script with proper @INC

You could add use blib; to that test file, or you could extract all of the code from the script into its own module and test that just as you would any other module. I tend to do the latter.


Comment on Re: Test::Harness: Calling a script with proper @INC
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2013-05-24 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (506 votes), past polls