<HTML>
<HEAD>
<TITLE>ARSperl Programmer's Manual</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H2><CODE>$version = ars_APIVersion()</CODE></H2>
This routine returns the "major" version of the API that
the ARSperl module was compiled against. For example, it
should return 2, 3, 4 etc. ARSperl doesn't work against pre-2.0
libraries, so it shouldn't return anything less that 2.
<P>
<DL>
<DT><B>On success</B><DD>
Returns an integer.
<DT><B>On failure</B><DD>
Returns undef.
</DL>
<P>Example:
<PRE>
$v = ars_APIVersion();
print "This installation of ARSperl was compiled against ARS API version $v\n";
</PRE>
<I>ars_APIVersion was introduced in version 1.62 of ARSperl</I>
<P>
<HR WIDTH="30%">
<P>
<A HREF="toc.html"><IMG ALT="&lt;--" SRC="arrow.gif" ALIGN=CENTER> Table of Contents </A>
<p>
<address>
Last changes to this page 28 December 1998 by
jcmurphy@arsperl.org<BR>
&#169; J.C.Murphy, J.W.Murphy 1995-1999 arsperl@arsperl.org
</address>
</BODY>
</HTML>