develooper Front page | perl.beginners | Postings from March 2002

Re: Exhaustive graph of subroutines

Thread Previous | Thread Next
Peter Scott
March 22, 2002 12:03
Re: Exhaustive graph of subroutines
Message ID:
At 04:43 PM 3/22/02 +0100, Patrice Boisieau wrote:
>Does it exist a CPAN module that computes the exhaustive graph of the 
>subroutines of a script ?

It is not possible in general to tell such things from a Perl program 
because it could always call a subroutine that is generated at runtime.

I was, however, able to find
which should aid in static analysis.

(Dynamic analysis should be possible with something that uses DB hooks like 
DProf.  But I couldn't find any Devel:: module that does that.  Am I 
missing something?  I was sure someone would have done this.)

Peter Scott
Pacific Systems Design Technologies

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About