Sam's Blog entries for category 'module-wrapping'
Wrapping Benchmark.pm to auto-correct custom controls
Date: Saturday, 27 March 2010, 20:28.
Categories: perl, ironman, benchmarking, analysis, module-wrapping, tutorial, basic.
Last week, in "Monkey-patching Benchmark.pm to auto-correct custom controls", we covered how to monkey-patch Benchmark.pm into giving us the results we wanted, and saw that one alternative method was to wrap the module instead.
This week, we investigate how to do this, and see what unpleasant surprises lie in wait when wrapping a procedural module.