Testing modules is easy. Testing scripts is hard. I show a few techniques I’ve recently aquired on pulling a script into a .t file, and using Test::Trap to handle die, exceptions, directory changes, and even capturing stdout and stderr.
Randal L. Schwartz is a renowned expert on the Perl and Smalltalk programming
languages, having contributed to a dozen top-selling books on the subject, and
over 250 magazine articles. Schwartz runs a Perl and Smalltalk training and
consulting company (Stonehenge Consulting Services, Inc of Portland, Oregon),
and is a highly sought-after speaker for his masterful stage combination of
technical skill, comedic timing, and crowd rapport. And he’s a pretty good Karaoke
singer, winning contests regularly.
Magazine articles and columns:
Regular contributor to online forums:
For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or firstname.lastname@example.org.
View a complete list of OSCON contacts