in reply to Re^3: PM vs PL
in thread Autovivification with require

I prefer to put as much code as possible in CPAN-style modules (.pm files), with associated unit tests (.t files) for each module.

Oh!
That's what those *.t files are for...

Now I am reading Test::Tutorial which is something else I didn't know existed.