develooper Front page | perl.perl5.porters | Postings from June 2011

Undeparsable subs

Thread Next
Father Chrysostomos
June 26, 2011 18:36
Undeparsable subs
Message ID:
Is there any way to mark a ‘Perl’ sub as undeparsable, such that B::Deparse will treat it as an XSUB?

I put ‘Perl’ in quotes, because I am referring to a sub with an op tree that is not derived from Perl code, and which will confuse B::Deparse.

This doesn’t have to be an API, as it’s for the core. (This is one possible approach to \&CORE::keyword that I’m thinking about.)

Could we add a flag for that, or is there already a way to do it that I missed?

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