From: Jesse Luehrs Date: Sun, 3 Jul 2011 00:04:40 +0000 (-0500) Subject: update the docs X-Git-Tag: Devel-GlobalDestruction-0.04~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=761f3ee2b5311acf669b468ebfa64561e2495ed5;p=p5sagit%2FDevel-GlobalDestruction.git update the docs --- diff --git a/lib/Devel/GlobalDestruction.pm b/lib/Devel/GlobalDestruction.pm index 04efbba..800d0c0 100644 --- a/lib/Devel/GlobalDestruction.pm +++ b/lib/Devel/GlobalDestruction.pm @@ -29,7 +29,7 @@ __END__ =head1 NAME -Devel::GlobalDestruction - Expose PL_dirty, the flag which marks global +Devel::GlobalDestruction - Expose the flag which marks global destruction. =head1 SYNOPSIS @@ -65,7 +65,9 @@ This module uses L so the exports may be renamed, aliased, etc. =item in_global_destruction -Returns the current value of C. +Returns true if the interpreter is in global destruction. In perl 5.14+, this +returns C<${^GLOBAL_PHASE} eq 'DESTRUCT'>, and on earlier perls, it returns the +current value of C. =back