diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2001-08-28 16:23:43 +0200 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2001-08-28 11:20:13 +0000 |
commit | acf403f823be0df6286e6068f282b2b32cd622a9 (patch) | |
tree | 9d66fa9d6fe027ae7fcc7e5ad0f7e013d9628d53 /pod/perlvar.pod | |
parent | 95ac86138f973fe30ee5bc64320b3477899912b6 (diff) | |
download | perl-acf403f823be0df6286e6068f282b2b32cd622a9.tar.gz |
put useful info in %INC for files loaded by a hook in @INC
Message-ID: <20010828142343.A19299@rafael>
p4raw-id: //depot/perl@11771
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r-- | pod/perlvar.pod | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod index cdbd53ffe8..d723271159 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1080,6 +1080,11 @@ value is the location of the file found. The C<require> operator uses this hash to determine whether a particular file has already been included. +If the file was loaded via a hook (see L<perlfunc/require> for a +description of these hooks), a fake filename is inserted into %INC. It +looks like F</loader/0x81095c8/Foo.pm>, where the hexadecimal number +corresponds to the reference that was put in @INC. + =item %ENV =item $ENV{expr} |