develooper Front page | perl.perl5.porters | Postings from May 2001

Re: [PATCH pp_sys.c] More warnings

Thread Previous | Thread Next
From:
Hugo
Date:
May 30, 2001 08:51
Subject:
Re: [PATCH pp_sys.c] More warnings
Message ID:
200105301454.PAA04206@crypt.compulink.co.uk
In <20010530145825.F670@blackrider.blackstar.co.uk>, Michael G Schwern writes:
:Is it safe to change instances of "SvPV(Foo, n_a)" to "SvPV_nolen(Foo)"?

I had assumed so, but looking at the code I'm not so sure - I don't
understand why SvPV_nolen is any more than:
  #define SvPV_nolen(sv) SvPV(sv, n_a)

:PS  What's the difference between SvPV and SvPVx?

I don't know - the code for SvPVx appears to be a slightly slower way of
doing the same thing. I don't know why it exists, particularly given
the potential for confusion with SvPVX.

Hugo

Thread Previous | Thread Next


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