develooper Front page | perl.perl5.porters | Postings from January 2003

Re: [PATCH] %_ (was Re: [PATCH] operation on `PL_na' may be undefined)

Nicholas Clark
January 8, 2003 03:18
Re: [PATCH] %_ (was Re: [PATCH] operation on `PL_na' may be undefined)
Message ID:
On Wed, Jan 08, 2003 at 11:12:15AM +0000, Dave Mitchell wrote:
> Note that %_ should *not* be used to print SVs containing the names
> of pad lexicals, since for these the SvCUR() field is hijacked for the
> generation number. Sticking with %s and PVX(sv) is the Right Thing to do
> here.  (See PAD_COMPNAME_GEN()).

Is that pre your pad work? Is that documented anywhere yet?
[likewise, is my observation that SvPVX holds the prototype (or NULL) of
a CV documented?]

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