I’m using ActivePerl 5.8 on Windows XP.
use strict;
use warnings;
use Data::Dumper;
There are three subroutines used in my script.
To detect the call stack, I can only insert some print "some location"; and check the print result from console Window.
Is there any good method to monitor it? Thank you.
You weren’t specific about why you’d like to monitor the call stack and trace your subs, so answers will have to be broad.
One method is
caller:You might also use the Devel::Cover module:
The more you tell us about what you want to do, the more helpful to you our answers will be!