Are you asking how to create subroutines/functions? perlsub
Are you asking how to create modules or objects? perlmod, perlmodlib, perlobj, perlref, perlreftut, perltoot, perlboot, perltooc, and of course Moose.
Are you asking how to use Perl's internal API (intended for extending and embedding via C/XS)?: perlguts, perlcall, perlxstut, perlapi, Inline::C, Inline, Inline::C-Cookbook, perlembed, perlxs, h2xs (and a large investment of time required)
Could you maybe just give a small example of what you're trying to accomplish? You need to accomplish X, you believe Y is how to get there. But maybe Z is a better approach. Since we don't know what X is, and it's unclear what you mean by Y, we don't know if you're on track or if Z really would be better.
| [reply] |
| [reply] |
Were the resources pointed to in my previous post not comprehensive enough? ... I don't blame you; the perlapi, perlxs, perlxstut, and perlguts (as well as perlembed) documents cover pretty advanced topics. Are you sure you want to pull back the curtain? The dragons haven't been fed lately, and they're looking both hungry and ill-tempered.
Perhaps you could describe what it is that you're trying to accomplish so we can provide more meaningful help.
| [reply] |
| [reply] |
| [reply] |
No one has mentioned the CPAN yet. It contains thousands of packages to extend Perl's utility though not (well, mostly not) the API into perl proper. Depending on word choice, that might be what you're really after.
| [reply] |
How to add user defined functions to perl API library? Give example. what are the PERL api libraries available?
Add what to what?
| [reply] |