Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!uunet!zephyr.ens.tek.com!uw-beaver!fluke!dbc From: dbc@tc.fluke.COM (Dan Carson) Newsgroups: comp.lang.perl Subject: PL44 bugs Keywords: debugger, eof(), look.pl Message-ID: <1991Feb20.181520.9112@tc.fluke.COM> Date: 20 Feb 91 18:15:20 GMT Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 39 A couple of bugs in 3.0.1.10 patch level 44: The debugger won't take 'do' from the keyboard. It confuses it with the 'd' debugger command. In testing this, I saw an unrelated anamoly: DB<1> do 'look.pl' DB<2> &look Undefined subroutine "main'look" called at /usr/local/lib/perl/perldb.pl line 508. DB<3> require 'look.pl' DB<4> &look Segmentation fault (core dumped) perl> Also, I previously posted the following, but it didn't seem to get past the large Seattle-area company beginning with a 'B' : #! /usr/local/perl # A big input file not terminated with a newline makes # this program dump core, e.g. : # echo -n "hi" | cat /etc/termcap - | this_prog while(<>) { eof(); eof; } Also, in 'look.pl', the "dictionary order" flag, $dict, is missing from the 'local(...)=@_;' statement. Dan Carson "This PERL I cast before thee." dbc@tc.fluke.com