Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!usc!aero-c!Aero.org!strauss From: strauss@Aero.org (Daryll Strauss) Newsgroups: comp.lang.perl Subject: Perl 4.0 problem Message-ID: <1991Mar26.190041.25442@aero.org> Date: 26 Mar 91 19:00:41 GMT Sender: news@aero.org Organization: The Aerospace Corporation Lines: 39 There appears to be a problem with Perl 4.0 when you combine warnings with debugging. If I take the following script: print "Hello World\n"; and call it foo.pl, then on my sparcstation I get this: 138:shere-khan:Strauss> perl -wd foo.pl Loading DB routines from perldb.pl 4.0 91/03/20 Enter h for help. Use of uninitialized variable at (eval) line 1. Segmentation fault (core dumped) and on my Sun3s I get this: 102:antares:Strauss> perl -wd foo.pl Loading DB routines from perldb.pl 4.0 91/03/20 Enter h for help. Use of uninitialized variable at (eval) line 1. Use of uninitialized variable at /usr/aero/lib/perl/perldb.pl line 72. main'(foo.pl:2): print "Hello World\n"; Possible use of == on string value at /usr/aero/lib/perl/perldb.pl line 78. DB<1> q - |Daryll ------------------------------------------------------------------------------- Daryll Strauss f The Aerospace Corp. strauss@aero.org n Mail Stop: M1-102 ...!uunet!aero.org!strauss o P.O. Box 92957 r Los Angeles, Ca. 90009 "It's my reality and I'll warp it if I want to!"d (213) 336-9358 -------------------------------------------------------------------------------