]> git.vpit.fr Git - perl/modules/Sub-Op.git/commitdiff
Point to B::Hooks::XSUB::CallAsOp
authorVincent Pit <vince@profvince.com>
Sun, 3 Jan 2010 20:57:24 +0000 (21:57 +0100)
committerVincent Pit <vince@profvince.com>
Sun, 3 Jan 2010 20:57:24 +0000 (21:57 +0100)
lib/Sub/Op.pm

index 0085cb1eadd14bb8ba4d68ab1a8fc2b645cde6bc..c8f7c2e24d156c0686aa15e71a63fa5dd5a2fafb 100644 (file)
@@ -429,6 +429,10 @@ L<ExtUtils::Depends>.
 
 L<subs::auto>.
 
+L<B::Hooks::XSUB::CallAsOp> provides a C API to declare XSUBs that effectively call a specific PP function.
+Thus, it allows you to write XSUBs with the PP stack conventions used for implementing perl core keywords.
+There's no opcode replacement and no parsing hacks.
+
 L<B::Hooks::OP::Check::EntersubForCV>.
 
 =head1 AUTHOR