|Just another Perl shrine|
Re^2: How to export subs in a bin/script for testing in t/00.tby leocharre (Priest)
|on Feb 26, 2010 at 19:18 UTC||Need Help??|
Oooh! Very cool!..
I wrapped the part of the main body that runs stuff into a sub run() and then I have a line such as (in bin/script).. (pseudocode follows..)
Then in t/00.t
Thank you! This is a wonderful solution. (Maybe someone has another (more elegant, less intrusive?) way to do this?)