Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

mako132 (2925)

Journal of mako132 (2925)

Friday November 22, 2002
03:01 PM

Defined, But Never Called

[ #9098 ]
More code review rebop: During this week's code review meeting we spent 15 minutes raking a poorly-coded subroutine through the coals, only to discover that it was never called in the CGI!

So I was wondering one might test for I need to compile perl with debugging enabled?

This is a different issue than detecting code that is never reached or isn't reached in the normal functioning of the CGI. The subroutine is simply never called anywhere.

So I need to get a list of all the subroutines and then somehow look at byte-code-execution tree whatnot and see there's no entry point. [here the author waves hands frantically]. I have no idea what I'm talking about :(

Now Drinking: Diet Coke

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.