ars_GetCurrentServer(ctrl)

Given a control record, returns the server name that is specified in the record.
On success
Returns a scalar.
On failure
Returns undef.

Example:

	if($ctrl = ars_Login("", $username, $password)) {
	    $cs = ars_GetCurrentServer($ctrl);
	    print "current server: $cs\n";
	} else {
	    print "login failed: $ars_errstr\n";
	    exit(0);
	}

      

ars_GetCurrentServer was introduced in version 1.41 of ARSperl


<-- Table of Contents

Last changes to this page 26th June 1997 by d.j.adams@soton.ac.uk
© J.C.Murphy, J.W.Murphy 1997 arsperl@arsperl.org