ARSperl Programmer's Manual

## `$version = ars_APIVersion()`

This routine returns the "major" version of the API that the ARSperl module was compiled against.

The corresponding API and AR System versions are as follows:

- API 14 and AR System 7.5
- API 13 and AR System 7.1
- API 12 and AR System 7.0
- API 11 and AR System 6.3
- API 10 and AR System 6.0
- API 9 and AR System 5.1
- API 8 and AR System 5.0
- API 7 and AR System 4.5
- API 6 and AR System 4.0
- API 5 and AR System 3.2
- API 4 and AR System 3.0 and 3.1

On success
  Returns an integer.
On failure
  Returns undef.

Example:

     $v = ars_APIVersion();
            print "This installation of ARSperl was compiled against ARS API version $v\n";

ars_APIVersion was introduced in version 1.62 of ARSperl

Back to Table of Contents