summaryrefslogtreecommitdiff
path: root/pod/perlvar.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2001-08-25 01:34:13 +0200
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-08-25 14:32:47 +0000
commitd54b56d55c935aeda35fad4725273ab2eb5a71a5 (patch)
treed95e6415b26a3d53c83c337213d592a53b4f1a77 /pod/perlvar.pod
parente14e2dc8035bb82ccaf583f5f04cf14f72dcd147 (diff)
downloadperl-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.pod4
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