our %tests = ( ... ); ## or the more compatible, less line lean use vars '%tests'; %tests = ( ... ); #### use Test::More tests => do { ... };