in reply to multiple "sub" packages in 1 file: possible? how?

I find it's a very useful technique to have packages and tests in a single file while developing...

BEGIN { package Foo; ... } use Test::More 'no_plan'; #use_ok 'Foo'; ...