On Mon, Nov 23, 2009 at 11:08 AM, Steve Bertrand <[email protected]> wrote:
> Hi everyone,
>
> I'm curious to know if there is an easy way to scan a list of module
> files and identify how many subs are calling a different specific sub.
>
> I've got a method that must be called once by each and every sub within
> the module. I want to ensure I haven't forgot to include its call
> without having to manually read the code.
>
> Is this possible?
>
> Steve
>

Hi Steve,

See the perldoc for dprofpp. You can use it to create a subroutine
execution tree for your program. From there it's just a matter of
filtering out the things you don't want.

HTH,

-- jay
--------------------------------------------------
This email and attachment(s): [  ] blogable; [ x ] ask first; [  ]
private and confidential

daggerquill [at] gmail [dot] com
http://www.tuaw.com  http://www.downloadsquad.com  http://www.engatiki.org

values of β will give rise to dom!

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to