Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] Question - Getting list of subroutines

Expand Messages
  • merlyn@stonehenge.com
    ... Randal I don t know of anything offhand, but Devel::ebug (in the CPAN) is Randal essentially a nice object-oriented interface to the debugger, so you
    Message 1 of 3 , Oct 22, 2005
    • 0 Attachment
      >>>>> "Randal" == Randal L Schwartz <merlyn@...> writes:

      Randal> I don't know of anything offhand, but Devel::ebug (in the CPAN) is
      Randal> essentially a nice object-oriented interface to the debugger, so you
      Randal> could write something that gets notified on every subroutine
      Randal> entry/exit and build your own call graph.

      Randal> If you just want to know if all your subroutines are being used,
      Randal> look at Devel::Cover (also in the CPAN).

      Oh, and I missed Devel::TraceSubs on first glance, which may
      do exactly what you want already.

      --
      Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
    Your message has been successfully submitted and would be delivered to recipients shortly.