Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Re: Testing Non-module code

by pboin (Deacon)
on Mar 17, 2004 at 11:00 UTC ( #337284=note: print w/replies, xml ) Need Help??

in reply to Re: Testing Non-module code
in thread Testing Non-module code

Well, I didn't know where the question would lead exactly, but I think your post has the real key, and that is:

To test a procedural script w/o affecting regular run-time behavior, 'require' the script into your test script so you have access to it's subroutines.

Thanks to you and everyone, the PerlMonks never cease to impress me. With this kind of support, no wonder 4 out of 5 dentists who code prefer Perl!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2016-10-23 11:11 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.