I found that the combination of -w -d didn't work. But if I did "use warnings" with -d, the problem went away. I don't think that's what's supposed to happen, but it's a usable workaround. And 5.8.x had the same problem, I believe.
> -----Original Message----- > From: Richard Foley [mailto:[EMAIL PROTECTED] > Sent: Friday, May 04, 2007 08:25 > To: email@example.com > Cc: Nelson R Pardee > Subject: re: Debugger Doesn't Show Program Lines > > Perhaps it's a problem with 5.6.1, have you tried a more > recent version of Perl, like 5.8.n? > > -- > Richard Foley > > > In-ReplyTo: [EMAIL PROTECTED] > > > > We're upgrading from an old 5.005_03 to v5.6.1. Now when I > use -d on > > via the first line of the program, it starts in debug mode but no > > lines of the program are visible & they are unlistable. > If I do an > > R, then they > are > > visible. <Perl -d pgmname> doesn't have this problem. > > > > We're also running into problems reading stdin, and nntp complains > > about Can't call method "post" on an undefined > value at eg.pl line 1607. > The > > script runs fine under the old version of perl.