[comp.lang.perl] Perl 4.0 problem

strauss@Aero.org (Daryll Strauss) (03/27/91)

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
-------------------------------------------------------------------------------