This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e994805
)
Explain that the load_module() import list must be NULL terminated
author
Jan Dubois
<jand@activestate.com>
Sat, 15 Aug 2009 00:57:45 +0000
(17:57 -0700)
committer
Jan Dubois
<jand@activestate.com>
Sat, 15 Aug 2009 00:57:45 +0000
(17:57 -0700)
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
a28e477
..
b4a9fe2
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-3962,7
+3962,11
@@
PERL_LOADMOD_DENY, PERL_LOADMOD_NOIMPORT, or PERL_LOADMOD_IMPORT_OPS
(or 0 for no flags). ver, if specified, provides version semantics
similar to C<use Foo::Bar VERSION>. The optional trailing SV*
arguments can be used to specify arguments to the module's import()
(or 0 for no flags). ver, if specified, provides version semantics
similar to C<use Foo::Bar VERSION>. The optional trailing SV*
arguments can be used to specify arguments to the module's import()
-method, similar to C<use Foo::Bar VERSION LIST>.
+method, similar to C<use Foo::Bar VERSION LIST>. They must be
+terminated with a final NULL pointer. Note that this list can only
+be omitted when the PERL_LOADMOD_NOIMPORT flag has been used.
+Otherwise at least a single NULL pointer to designate the default
+import list is required.
=cut */
=cut */