Shlomi Fish reported:
Add some tests for
Yesterday and today I started refactoring
lib/perl5db.pl. I'm glad to say that the test suite caught some bugs introduced by refactoring.
Filed an rt.perl.org bug with patches:
Did more refactoring to the perl debugger.
a [command]without a line number:
- More refactoring - leading ampersands and method extractions.
- More refactoring - extracted methods and subroutines.
- More refactoring - extracted some methods.
More refactoring - extracted some methods.
More refactoring - created a dispatch table for commands based on their initial command field.
More refactoring - finished most of the dispatching based on the table.
More refactoring - split the command into a verb and args and start inspecting
More refactoring - made some variable lexicals instead of slots in the objects - apparently they were just overused for some purposes.
Refactoring - finish converting to
Posted this post to the perl5-porters mailing list:
Got rid of leading ampersands in sub calls (except for the
Made sure that we don't use
DB::system()which clash with perl built-in functions.