in reply to use and require inside subs
This allows me to test all of my scripts by ensuring all of my modules are fully tested, and helps me organise my code by functional units instead of just throwing various and sundry subs into my scripts.use My:Script:Foo; My::Script::Foo->bar()
|
---|