|
|
sybperl-l Archive
Up Prev Next
From: "WORENKLEIN, David, GCM" <David dot Worenklein at gcm dot com>
Subject: RE: sybperl scripts never exit
Date: Apr 23 1999 7:25PM
1. You're missing a semicolon.
2. Try perl -v.
3. Are there any END{} blocks in your code?
-----Original Message-----
From: Neil Ratzlaff [mailto:Neil.Ratzlaff@ucop.edu]
Sent: Friday, April 23, 1999 3:05 PM
To: SybPerl Discussion List
Subject: sybperl scripts never exit
Can someone suggest a reason why or way to fix this problem? Perl scripts
that
use sybase and run under perl5.005/sybperl2.09 never stop - they reach the
end
of the script and apparently never exit, but continue to eat CPU cycles at
an
alarming rate.
These same scripts work properly under an older version of perl, and when I
run
the sybperl version reporting line I get this: "Unrecognized switch:
-MSybase::DBlib(999)". From a recent post, I suspect the other version is
4,
but my boss here thinks it is an early version of perl5.
The first line below works (as does everything above it in the script). The
exit line is directly after the print line but seems to not work.
print "End of script\n"
exit;
Thanks,
Neil
|