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

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

From:
Nicholas Clark
Date:
January 8, 2003 03:18
Subject:
Re: [PATCH] %_ (was Re: [PATCH] operation on `PL_na' may be undefined)
Message ID:
20030108111835.J91080@plum.flirble.org
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



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About