home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume25 / sybperl / part01 / lib / sybperl.pl
Text File  |  1991-11-11  |  441b  |  16 lines

  1. ;#     @(#)sybperl.pl    1.1    9/3/91
  2.  
  3. ;# This file, when interpreted, sets the appropriate environment
  4. ;# variables for Sybase's use DB-Library & isql.
  5. ;#
  6. ;# usage:
  7. ;#    require 'sybperl.pl';
  8. ;#
  9. ;# We don't set the environment if it is already set.
  10.  
  11.  
  12. $ENV{'SYBASE'} = "/usr/local/sybase" unless $ENV{'SYBASE'};
  13. $ENV{'DSQUERY'}= "SYBASE" unless $ENV{'DSQUERY'};
  14. $ENV{'PATH'}="$ENV{'PATH'}:$ENV{'SYBASE'}/bin" unless $ENV{'PATH'} =~ /$ENV{'SYBASE'}/;
  15.  
  16.