Stas Bekman wrote: > perlapi.pod advertises the load_module function, not Perl_load_module. Though > it refers to Perl_load_module the require_pv() section. Shouldn't it be always > consistent and refer to load_module()? For a reason unknown to me, this function is always called as Perl_load_module() in the core. In this case I think the correct patch would be to document in the L<load_module> section that the Perl_ prefix should always be used in the core. > If so, please apply the following patch: perlapi.pod is a generated file, so patches to the original file are preferred. > --- perlapi.pod.orig 2003-03-01 15:26:33.000000000 +1100 > +++ perlapi.pod 2003-03-01 15:31:15.000000000 +1100 > @@ -687,7 +687,7 @@ > > Tells Perl to C<require> the file named by the string argument. It is > analogous to the Perl code C<eval "require '$file'">. It's even > -implemented that way; consider using Perl_load_module instead. > +implemented that way; consider using load_module instead. > > NOTE: the perl_ form of this function is deprecated.Thread Previous | Thread Next