Do you know where your variables are? | |
PerlMonks |
Re: Re: Testing Non-module codeby pboin (Deacon) |
on Mar 17, 2004 at 11:00 UTC ( [id://337284]=note: print w/replies, xml ) | Need Help?? |
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!
In Section
Seekers of Perl Wisdom
|
|