OOCallSeq - produces call sequence outlines (like dprofpp -T)
perl -d:OOCallSeq script cat tmon.out
This profiler is designed to aid in the production of UML sequence diagrams. It is used by UML::Sequence through genericseq.pl and UML::Sequence::PerlOOSeq. (See UML::Sequence::PerlOOSeq for how to use it in practice.)
The key differences between the output of this program and dprofpp -T are these:
subroutine names show up correctly (DiePair::new not DiePair::BEGIN) subroutine names are preceded by instance names (die1:Die::roll)
Output goes to tmon.out and looks like this:
main diePair1:DiePair::new die1:Die::new die2:Die::new diePair1:DiePair::roll die1:Die::roll die2:Die::roll diePair1:DiePair::total diePair1:DiePair::doubles
To install UML::Sequence, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UML::Sequence
CPAN shell
perl -MCPAN -e shell install UML::Sequence
For more information on module installation, please visit the detailed CPAN module installation guide.