Contents
What's this all about?
Disclaimers
Step 1: git clone
vp2
Option handling refactored
Referring to options
Getopt::Long ♥ Pod::Usage
POD formatting
Davis.pm
Undeclared globals
Finding typos with use strict
Davis/VantagePro.pm
Refactoring
VantagePro.pm constructor
VantagePro.pm initialiser
The easy way
Those pesky imports
Alternative constructs
Alternative decoder
An imaginary solution
Excuses, excuses
CPAN package format
Distribution name
Running the tests
Running one test script
Writing a new test
A mock-friendly way
Custom class for testing
A test script
A successful test run
The End