B::Tree - Simplified version of B::Graph for demonstration


B-Tree documentation  | view source Contained in the B-Tree distribution.

Index


NAME

Top

B::Tree - Simplified version of B::Graph for demonstration

SYNOPSIS

Top

    perl -MO=Tree program | dot -Tps > tree.ps

DESCRIPTION

Top

This is a very cut-down version of B::Graph; it generates minimalist tree graphs of the op tree of a Perl program, merely connecting the op nodes and labelling each node with the type of op.

It was written as an example of how to write compiler modules for "Professional Perl", but I've found it extremely useful for creating simple op tree graphs for use in presentations on Perl internals.

It requires the CPAN GraphViz module and the GraphViz package from http://www.research.att.com/sw/tools/graphviz/. It takes no options.

AUTHOR

Top

Simon Cozens, simon@cpan.org

SEE ALSO

Top

GraphViz, B::Graph


B-Tree documentation  | view source Contained in the B-Tree distribution.