Does anyone have an idea of how to test for the existence of a string, say
'failed', in variable $errstr which is returned after a Sybase call. See
below... I know there is this string in $errstr but cannot get a true...
Please help
system("isql -SRICEWR_RS -Usa -P
-iC:\\winnt\\system32\\adminwhoisdown.sql");
$_ = $errstr;
if (/failed/) {print "failed found in $errstr";}
print "\n$errstr\n";
Thanks,
Wayne Rice
Sybase, Inc.
Bethesda, MD
Sybase V-mail: 301-896-1368
Sybase E-mail: [EMAIL PROTECTED]
NAVAIR Phone: 301-757-1657
NAVAIR E-mail: [EMAIL PROTECTED]
Cell Phone 443 540-7944
<<...OLE_Obj...>>