develooper Front page | perl.perl5.porters | Postings from September 2013

[perl #120017] perlcall documentation has no good example with POPs

Thread Previous
James E Keenan via RT
September 27, 2013 01:47
[perl #120017] perlcall documentation has no good example with POPs
Message ID:
On Thu Sep 26 03:49:32 2013, wrote:
> This is a bug report for perl from,
> generated with the help of perlbug 1.39 running under perl 5.16.1.
> -----------------------------------------------------------------
> [Please describe your issue here]
> perldoc perlcall lacks good example with POPs. Since poped SV is on
> temp stack it will be freed as soon as you call FREETMPS and LEAVE
> the block.
> I had to grep cpan to understand what to do to avoid freeing. Still
> not shure if it's ok to call SvREFCNT_inc(POPs) or if it has to be
> newSVsv(POPs). If former then example should use most effective
> variant of SvREFCNT_inc*.

Do you feel you learned enough from that grepping to write a first draft
of such documentation?

I'm sure that others knowledgeable in that area could help get a draft
polished enough to be included in the docs.

Thank you very much.
Jim Keenan

via perlbug:  queue: perl5 status: new

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