I can't imagine I am the only one that has issues with PERL dependencies. I found this thread: http://www.perlmonks.org/?node_id=168341
I would really like to have some way of generating a dependency graph or a report. So that if I am changing function A I know everywhere it is called and I can specifically re-test these areas to make sure nothing was adversely affected.
Call tree reconstruction using static source code analysis is not possible in general for dynamic languages such as Perl. If you only program procedurally, it should be achievable by parsing the source code using the PPI module, if you are so inclined. I know of no higher level module that would support it directly.
That is what the thread seems to indicate that it is processing the source code not compiled. Just thought it would be helpful to be able to show that If I change function F I can no hit a command key similar to F3 to scan the source looking for all modules that call that function. Just like doing a source search just in a better interface perhaps. Just a thought at early hours with little coffee.
Log in to post a comment.