(Randal L. Schwartz) writes:
>>>>>> "Eric" == Eric Schwartz <> writes:
> Eric> I was searching through CPAN today for a module that would generate a
> Eric> static call tree, but couldn't seem to find one (lots of dynamic call
> Eric> tree generators, though!). I'm less concerned with code coverage at
> Eric> this point; I'm looking for a module (or tool) that will help me
> Eric> refactor code by easily showing me who calls, say, MyMod::Foo.
>
> Eric> Does anyone know of such a thing?
>
> Does B::Xref fit?
I think it can be made to-- thanks! It looks like it's intended to be
run on a program, and recursively descend down its call-tree, yes?
Which isn't a problem, I think-- if I have a sub in a module that
doesn't appear after running that code over all my executables, then
clearly that sub can be moved anywhere (or preferably, deleted).
-=Eric
--
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is NOTHING like Shakespeare.
-- Blair Houghton.