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

Re: Exhaustive graph of subroutines

Thread Previous | Thread Next
From:
Peter Scott
Date:
March 22, 2002 12:03
Subject:
Re: Exhaustive graph of subroutines
Message ID:
4.3.2.7.2.20020322113554.00b6ef00@shell2.webquarry.com
At 04:43 PM 3/22/02 +0100, Patrice Boisieau wrote:
>Hello
>
>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 
http://groups.google.com/groups?oi=djq&selm=an_578898494
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
http://www.perldebugged.com


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About