Up Prev Next
From: Mark dot Lonsdale at fw dot gs dot com (Mark Lonsdale - System Services)
Subject: Sybperl query
Date: Nov 21 1995 12:11PM
I am just starting to get into sybperl and have come across a problem that has
been bugging me for about a day now.
What I want to do within my script is to log into 2 different servers which
are referenced in 2 seperate interfaces files. I assumed that sybperl would
look for the interfaces file in the location specified by the SYBASE variable.
Assuming this what I have done is as follows :-
$firstconnection=&dblogin($user, $password, $firstserver)
$secondconnection=&dblogin($user, $password, $firstserver);
What happens is is that it cannot find the second server entry in the
interfaces file as it is still looking in the first interfaces file (i.e. It
doesn't seem to have picked up the change in variable). I am using perl v4.0
on SunOs 4.1.3