The reason you can't get a straight answer to your question is simple - it doesn't make any sense! An API is not something you can "initiate." You can "define" an API, you can "call" and API, you can "program for" an API, but "initiate" doesn't parse here.

An API is a set of functions, methods and/or objects that define the way you access a service. For example, the API for HTML::Template specifies that to create a new object you call new():

   my $template = HTML::Template->new(...);

The API further defines what goes in the "..." above. The API is not the code for HTML::Template itself, it is the mechanism by which the code is accessed. This distinction isn't always honored though - some people talk about an API as if it encompassed the code behind the interface.

I'd suggest you try again with the SCORM folks. Ask them how you can make API calls from Perl (if that's what you want to do) or how you can implement a SCORM-compliant API in Perl (if that's what you want). Most likely they'll respond by either pointing you to existing Perl libraries or describing the interface style they're using (SOAP, REST, etc.).

-sam


In reply to Re: SCORM and Perl by samtregar
in thread SCORM and Perl by demonlazeros

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.