in reply to PERL APIs

Consider implementing the API as a module (see the Module tutorials).