On Aug 8, Gupta, Sharad said:

>I have a bunch of scripts which calls a sub from a module, and that
>module in turn would call another sub from someone else and so on.
>Skimming through them is driving me crazy.
>
>Is there a way i can trace the calling of the routines till N levels.

Using the caller() function, you can create your own stack trace.

  perldoc -f caller

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to