use Variable::Temp 'temp';
-use Test::More tests => 10;
+use Test::More;
+
+BEGIN {
+ if ("$]" >= 5.016) {
+ plan tests => 10;
+ } else {
+ plan skip_all => 'perl 5.16 required to have \$ proto accept sub entries';
+ }
+}
{
package Variable::Temp::TestPkg;