The few methods you need to activate Devel::Diagram.
new( $moduleSpecifications )
Here you name the Perl module (or suite) you want to process.
Enter the string you would specify in a use or require statement for this module.
You may enter as many module specifications as you like, separated by commas.
Render( $renderType [, $transformType] )
Renders the class diagram in the given format.
Currently the only format that is recognized is UXF20.
These can be extended easily by creating a new Devel::Diagram::Render::<yourName> module.
Render() optionally takes a second parameter specifying a transformation on the rendered
format, presumably resulting in a new format. For instance,
renders the class diagram as UXF20, then runs it through the XSL transform named uxf20toHtml.xsl.
Render() expects to find the XSL stylesheet in the xsl folder of Devel::Diagram.
You need XML::XSLT::Wrapper and an appropriate XSL transform engine to make this work.
Any warnings or errors in the rendering process can be found by investigating $@ on return.