To add to
Joost's comments: An Application Program Interface (API) is supplied by the 3rd party and should be documented with the product. Many APIs are designed to be driven from C, being a fairly portable, generic, and widely known language. We can create a Perl interface by writing a variety of C code (known as XS) between Perl and the 3rd-party product. This code will use the API of the product and also the Perl API, see
perlapi.
Once the code is written (if in a language like C) then the 3rd-party
Run-time libraries are linked with the program. This means that you must have those libraries in order to build it, and that might mean buying a license.
Some examples: Windows has a C API, known as Win32. UNIX also has a C API, documented in UNIX man pages (section 2). Microsoft Office, on the other hand, only has the OLE API, it does not have a C procedural interface (which is a real pain). Most commercial database products have C APIs, and indirectly this enables interaces to languages like PHP, Python, and good ole' Perl.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.