Add prototype to pure-perl pre-5.14 version
[p5sagit/Devel-GlobalDestruction.git] / lib / Devel / GlobalDestruction.pm
index aa623fa..418805d 100644 (file)
@@ -3,7 +3,7 @@ package Devel::GlobalDestruction;
 use strict;
 use warnings;
 
-our $VERSION = '0.05';
+our $VERSION = '0.06';
 
 use Sub::Exporter -setup => {
     exports => [ qw(in_global_destruction) ],
@@ -39,7 +39,7 @@ else {
 
 my ($in_global_destruction, $before_is_installed);
 
-sub in_global_destruction { $in_global_destruction }
+sub in_global_destruction () { $in_global_destruction }
 
 # This block will fire towards the end of the program execution
 # Since there is no way for us to generate an END which will execute *last*