work around $DB::sub
authorYuval Kogman <nothingmuch@woobling.org>
Wed, 23 Sep 2009 15:20:31 +0000 (18:20 +0300)
committerYuval Kogman <nothingmuch@woobling.org>
Wed, 23 Sep 2009 15:26:27 +0000 (18:26 +0300)
commit07fbef3daa75ec3d7339aa3d0daf16dfd46a5a84
treebbe5dc35e0e2e37612b2b7bf397df9917b3d8367
parent61c4bce7e7b6585613a8b01119cfe88ede232bca
work around $DB::sub

The variable is a string which is dereferenced as a sub that no longer
exists.

When we delete the glob where the sub was defined, we therefore alias it
to "namespace::clean::deleted::$fq" so that the debugger can still
dereference a symbolic ref and get back a working subroutine
Makefile.PL
lib/namespace/clean.pm
t/07-debugger.t [new file with mode: 0644]