README
1Devel::TraceFuncs lets you instrument your programs, so you can see
2what subroutines get called when, and by whom. This is particularly
3useful if you have a timing problem that doesn't show up if you use
4the debugger (a "heisenbug").
5
6The following program:
7
8 use Devel::TraceFuncs qw(trace debug);
9
10 sub foo {
11 trace(my $f);
12
13 debug "hi";
14 }
15
16 trace(my $f);
17
18 foo(1, 2);
19 debug "there";
20
21produces this output:
22
23 +-> global
24 | +-> main::foo(1, 2) (in t.pm:10)
25 | | hi (in t.pm:6)
26 | +-< main::foo(1, 2) (in t.pm:10)
27 | there (in t.pm:11)
28 +-< global
29
30INSTALLATION:
31
32This should do it:
33
34 perl Makefile.PL
35 make install
36
37