cidroz has asked for the wisdom of the Perl Monks concerning the following question:

I am having a real "middle age" moment... I cannot remember the name of a programming "thing".. Here is what I need/want to do... 1. I have a huge perl program; it has tons of subs, which are well commented, but the structure is very much like a big run on sentence... 2. I need to tool that will show me the way the program logic runs whent he program is invoked...what calls what when etc... I have forgotten the name of the category of tools which does it is...someone said they thought this type of tool is called a profile...but for the life of me I cannot remember... my aged brain thanks you in advance... cid

Replies are listed 'Best First'.
Re: Perl profiler
by Trizor (Pilgrim) on Aug 06, 2007 at 20:04 UTC
      much thanks...
Re: Perl profiler
by kyle (Abbot) on Aug 06, 2007 at 20:02 UTC
    See Devel::DProf or Devel::Profiler.

    Update (now that I'm off my phone and back to a real browser): To get a call tree from one of those, use dprofpp -t or dprofpp -T. The lower case -t may be easier to read because repeated function calls are condensed and shown with a repetition count.

Re: Perl profiler
by hilitai (Monk) on Aug 06, 2007 at 22:18 UTC
    Perhaps you mean a "call graph generator". Here is one (no idea as to its usefullness). This appears to be another.