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:
Konovalov, Vadim ** CTR **
Date:
November 25, 2011 11:06
Subject:
RE: [RFC] Can we convert lib/perl5db.pl (= the default perldebugger) to strict and warnings?
Message ID:
35BF8D9716175C43BB9D67CA60CC345E2E0822DC@FRMRSSXCHMBSC2.dc-m.alcatel-lucent.com
> From: Jesse Vincent

> Vadim,
> 
> [Not that I'm advocating this particular strategy, but] do you object
> to perl5db.pl be made warnings and strict clean without warnings and
> strictures being enabled at runtime?

this is a bit better approach,
although even declaring variables with "my" are not always possible there:
some are good but some aren't.

And at least person touching these internals should read at least
perldebguts.pod, perldebug.pod  and also related perl internals.


My personal preferences on the matter are:

- retain this perl5db.pl file as a single file, although it could be renamed to 
be "pm" instead of "pl"
- remove all references of "tkRunning" from there - IMO these are bogus.

Regards,
Vadim.


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