Name
dl_install_xsub
Synopsis
dl_install_xsub (perl_name
,symref
[,filename
])
Creates a new Perl external subroutine. Takes the following arguments:
perl_name
Name of the new subroutine.
symref
Pointer to the function that implements the routine.
filename
The source file for the function. If not defined, DynaLoader is used.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.