diff options
author | Tony Cook <tony@develop-help.com> | 2023-02-07 10:33:04 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2023-02-08 13:42:50 +1100 |
commit | 6c19911f93fc29afe94cad617c6f2f3325ad77ba (patch) | |
tree | 70ef57cee9d4e77bbf0de915153b7e921671128a /pod/perlfunc.pod | |
parent | 626df4fd56759528a170e821cab27f372b174496 (diff) | |
download | perl-6c19911f93fc29afe94cad617c6f2f3325ad77ba.tar.gz |
perlfunc/require: Note that AUTOLOAD cannot resolve INCDIR
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 8ad7d97961..4704ff52f4 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -6894,6 +6894,9 @@ Optional state for the subroutine. The state is passed in as C<$_[1]>. =back +C<AUTOLOAD> cannot be used to resolve the C<INCDIR> method, C<INC> is +checked first, and C<AUTOLOAD> would resolve that. + If an empty list, L<C<undef>|/undef EXPR>, or nothing that matches the first 3 values above is returned, then L<C<require>|/require VERSION> looks at the remaining elements of L<C<@INC>|perlvar/@INC>. |