diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2001-08-25 01:34:13 +0200 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-08-25 14:32:47 +0000 |
commit | d54b56d55c935aeda35fad4725273ab2eb5a71a5 (patch) | |
tree | d95e6415b26a3d53c83c337213d592a53b4f1a77 /pod/perlvar.pod | |
parent | e14e2dc8035bb82ccaf583f5f04cf14f72dcd147 (diff) | |
download | perl-d54b56d55c935aeda35fad4725273ab2eb5a71a5.tar.gz |
[DOC PATCH] The coderef-in-@INC feature
Message-Id: <20010824233413.A1285@rafael>
p4raw-id: //depot/perl@11743
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r-- | pod/perlvar.pod | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 3f4c2f5255..cdbd53ffe8 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1062,6 +1062,10 @@ loaded also: use lib '/mypath/libdir/'; use SomeMod; +You can also insert hooks into the file inclusion system by putting Perl +code directly into @INC. Those hooks may be subroutine references, array +references or blessed objects. See L<perlfunc/require> for details. + =item @_ Within a subroutine the array @_ contains the parameters passed to that |