in reply to 'use strict' and sharing globals between files
Or, look at it another way: test2.pl isn't run without test1.pl's context, and doesn't necessarily compile without it either.
-QM -- Quantum Mechanics: The dreams stuff is made of