Léon Brocard > GraphViz-2.02 > xref.pl

Download:
GraphViz-2.02.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

xref.pl - graphing subroutine cross-reference reports for Perl modules

SYNOPSIS ^

To graph the subroutine cross-reference of 'Functional.pm':

  % perl -MO=Xref,-r Functional.pm > examples/Functional.xref
  % ./xref_aux.pl Functional.xref > Functional.png
  % gqview Functional.png
  # (or your favourite image viewer)

DESCRIPTION ^

xref.pl uses the information gleamed by the B::Xref module to draw a pretty graph showing how subroutines in a module call each other.

For example, the "GraphViz.png" image shows that:

Unfortunately, it is quite hard to understand this without looking at the picture, hence this program and the GraphViz module ;-)

A couple of options are available by changing variables in the program. It is expected that these become command-line options for the next version.

AUTHOR ^

Leon Brocard <acme@astray.com>

COPYRIGHT ^

Copyright (C) 2000, Leon Brocard

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.

syntax highlighting: