<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -169,6 +169,7 @@ my $NO_PACKAGE    = &quot;no $PACKAGE&quot;;      # Used to detect 'no autodie'
 
 sub import {
     my $class        = shift(@_);
+    my @original_args = @_;
     my $void         = 0;
     my $lexical      = 0;
     my $insist_hints = 0;
@@ -307,6 +308,16 @@ sub import {
             $class-&gt;_install_subs($pkg, \%unload_later);
         }));
 
+        # To allow others to determine when autodie was in scope,
+        # and with what arguments, we also set a %^H hint which
+        # is how we were called.
+
+        # This feature should be considered EXPERIMENTAL, and
+        # may change without notice.  Please e-mail pjf@cpan.org
+        # if you're actually using it.
+
+        $^H{autodie} = &quot;$PACKAGE @original_args&quot;;
+
     }
 
     return;</diff>
      <filename>lib/Fatal.pm</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3f90b0d72c8a189688c1668cd6c5512bcd09f44c</id>
    </parent>
  </parents>
  <author>
    <name>Paul Fenwick</name>
    <email>pjf@perltraining.com.au</email>
  </author>
  <url>http://github.com/pfenwick/autodie/commit/d8a7b2423d411f4646cd2836f22c88af826ee538</url>
  <id>d8a7b2423d411f4646cd2836f22c88af826ee538</id>
  <committed-date>2009-09-03T14:00:23-07:00</committed-date>
  <authored-date>2009-09-03T14:00:23-07:00</authored-date>
  <message>EXPERIMENTAL: Trivial support for detecting when autodie is in scope.</message>
  <tree>821b2930eedf3aa3cb8edaae5e80259a6f2c41b0</tree>
  <committer>
    <name>Paul Fenwick</name>
    <email>pjf@perltraining.com.au</email>
  </committer>
</commit>
