in reply to Re^4: Cleaning up unused subroutines
in thread Cleaning up unused subroutines
foo() may or may not be called, depending on @ARGV.
Better. A clear example rather than oblique allusions.
The only way to really do this was covered earlier: with a comprehensive test suite and gradual code modification.
And how do you test that your test suite is comprehensive?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Cleaning up unused subroutines
by Somni (Friar) on Oct 26, 2007 at 13:03 UTC | |
by BrowserUk (Patriarch) on Oct 26, 2007 at 15:07 UTC | |
by Somni (Friar) on Oct 26, 2007 at 15:19 UTC | |
by BrowserUk (Patriarch) on Oct 26, 2007 at 15:43 UTC | |
by Somni (Friar) on Oct 26, 2007 at 15:52 UTC | |
| |
Re^6: Cleaning up unused subroutines
by blazar (Canon) on Oct 27, 2007 at 12:23 UTC | |
by BrowserUk (Patriarch) on Oct 27, 2007 at 16:51 UTC |