develooper Front page | perl.perl5.porters | Postings from November 2011

Re: [RFC] Can we convert lib/perl5db.pl (= the default perldebugger) to strict and warnings?

Thread Previous | Thread Next
From:
Shlomi Fish
Date:
November 27, 2011 12:58
Subject:
Re: [RFC] Can we convert lib/perl5db.pl (= the default perldebugger) to strict and warnings?
Message ID:
20111127225113.74d5bd49@lap.shlomifish.org
Hi,

On Sun, 27 Nov 2011 13:16:45 -0500
Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:

> * Shlomi Fish <shlomif@shlomifish.org> [2011-11-27T08:49:48]
> > OK, people, relax. In the github branch in which I've worked on the patch, I
> > did the conversion in several steps by: 1. Adding "use strict;" at the top. 2.
> > Getting rid of several of the reported errors. 3. Commenting-out use strict;.
> > 4. Making sure the tests still pass. 5. Repeat.
> 
> Thanks, I was never un-relaxed on this point, since you were clear about it
> when you provided the patch.

OK.

> 
> I think there are a number of places where this stuff could go wrong, and I
> think Craig did a nice job pulling out a commit where a bug sneaked through due
> to a lack of tests.

OK.

> 
> I think your work (Shlomi) is going to be very valuable for future work on the
> debugger, but I don't want to apply it just yet.  In fact, I think I'd like to
> apply it to 5.17.0 or so.  What I'd really like to see is a set of tests for
> the debugger, which the strictification work can be rebased onto.  This will
> make the core richer in several ways!
> 
> Do you think this is something you'd be interested in working on, too?
> 

Yes, I would be interested in working on it. More tests are almost always a
good idea. I'll see about that.

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
"The Human Hacking Field Guide" - http://shlom.in/hhfg

Chuck Norris is his own boss. If you hire him, he’ll tell your boss what to
do.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About