summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
18eafa9)
With these old perls, you cannot pass a subroutine entry to the \$
prototype.
use Variable::Temp 'temp';
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;
{
package Variable::Temp::TestPkg;