develooper Front page | perl.perl5.porters | Postings from December 2017

Re: [perl #74040] B::PADOP->gv should not allow fetching values froma pad that's not the op's

From:
Zefram
Date:
December 10, 2017 04:19
Subject:
Re: [perl #74040] B::PADOP->gv should not allow fetching values froma pad that's not the op's
Message ID:
20171210041950.GB25404@fysh.org
It is impossible for B to determine which pad an op refers to, and
when an XS method is called it's rather unlikely that an appropriate
pad will be available at all.  The B::PADOP::gv method was therefore
misconceived.  Since this ticket was opened, it has been tweaked in commit
3a23d767cf63fb2e8de3d79eadee49bbc33eec53 by DaveM, who was evidently
unaware of this ticket but independently discovered the bogosity.  That's
probably the best resolution available.  This ticket should be closed.

-zefram



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