X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDevel%2FGlobalDestruction.pm;h=1afa72aa2c0360791080d8ac19706985ec86dfe8;hb=aaccce0cce545c596f87441f0bec81b31639150c;hp=9030ae7e63754857b3e02f49f5ef3896df7b6b10;hpb=19a66cb4bd2afb3036d4ad05c6e30713023bc107;p=p5sagit%2FDevel-GlobalDestruction.git diff --git a/lib/Devel/GlobalDestruction.pm b/lib/Devel/GlobalDestruction.pm index 9030ae7..1afa72a 100644 --- a/lib/Devel/GlobalDestruction.pm +++ b/lib/Devel/GlobalDestruction.pm @@ -3,9 +3,9 @@ package Devel::GlobalDestruction; use strict; use warnings; -our $VERSION = '0.06'; +our $VERSION = '0.07'; -use Sub::Exporter -setup => { +use Sub::Exporter::Progressive -setup => { exports => [ qw(in_global_destruction) ], groups => { default => [ -all ] }, }; @@ -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* @@ -119,7 +119,8 @@ destruction is in effect. =head1 EXPORTS -This module uses L so the exports may be renamed, aliased, etc. +This module uses L so the exports may be renamed, +aliased, etc. if L is present. =over 4 @@ -141,6 +142,8 @@ Jesse Luehrs Edoy@tozt.netE Peter Rabbitson Eribasushi@cpan.orgE +Arthur Axel 'fREW' Schmidt Efrioux@gmail.comE + =head1 COPYRIGHT Copyright (c) 2008 Yuval Kogman. All rights reserved