[pm-h] brian d foy article on modulinos
G. Wade Johnson
gwadej at anomaly.org
Tue Aug 12 06:30:16 PDT 2014
If you haven't run across modulinos in Perl, this is a good
introduction:
http://perltricks.com/article/107/2014/8/7/Rescue-legacy-code-with-modulinos
The basic idea is to change a Perl script into something that can be
run as a script or loaded as a module. Once you can load the code as a
module, unit testing becomes much easier.
G. Wade
--
"No Boom today. Boom tomorrow, There's always a boom tomorrow."
-- Ivanova, "Grail"
More information about the Houston
mailing list