develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [ID 20000315.003] perl5.6-RC1 not OK - modules complain.

Gurusamy Sarathy
March 16, 2000 11:07
Re: [ID 20000315.003] perl5.6-RC1 not OK - modules complain.
Message ID:
On Thu, 16 Mar 2000 10:42:01 PST, Doug MacEachern wrote:
>On Thu, 16 Mar 2000, Gurusamy Sarathy wrote:
>> cv_undef() and cv_const_sv() are not in the list of public API
>> functions.  I'm not sure why mod_perl needs them, but it seems like
>> a bad idea to use them.  (SvREFCNT_dec() should be used rather than
>> cv_undef(), because the latter will clobber a CV regardless of how
>> many people own it.  And cv_const_sv() is purely internal.)
>Apache::Symbol::undef wants to clobber the CV regardless.  it was a
>special version of pp_undef to avoid the old mandatory warning of constant
>subroutine being re-defined.
>cv_const_sv() is handy to check if a subroutine has been constant
>folded.  i didn't notice this breakage, both are referenced in
>Apache/, which builds fine, but is not used by the 'core'.  now i
>notice mod_perl skips the modules/symbol test because it fails to load.
>it would be nice if these could be made public again.

OK, consider it done.

Sarathy Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About