What you're describing looks vaguely like the start of an XS file.
Do you know any C? If not, get yourself an good introduction text. Personally, I've always liked The Joy of C, but there are probably plenty of tutorials on the web.
Also, I suggest you read chapter 2 of the extending and embedding perl book. It should clear up a lot of your confusion.
In reply to Re^3: Perl 5 API
by Joost
in thread Perl 5 API
by packet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |