From: Jan Dubois Date: Sat, 15 Aug 2009 00:57:45 +0000 (-0700) Subject: Explain that the load_module() import list must be NULL terminated X-Git-Tag: accepted/trunk/20130322.191538~10910 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76f108ac8c4a9965d6bf4ba6a472e5866bb01731;p=platform%2Fupstream%2Fperl.git Explain that the load_module() import list must be NULL terminated --- diff --git a/op.c b/op.c index a28e477..b4a9fe2 100644 --- 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. The optional trailing SV* arguments can be used to specify arguments to the module's import() -method, similar to C. +method, similar to C. 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 */