Autodia::Handler::Mason(3pm)

Autodia::Handler::Mason3pm

Allows autodia to parse html::mason files

Usage

See Autodia and HTML::Mason. Use -p to specify the comp_root and -i fetch one or more components, f.e. ./autodia -l Mason -p 'examples/mason' -i 'index.html login.html' If you need to allow globals, f.e. $c and $l, add -G '$c $l' to the command line

Overview

Autodia::Handler using introspection provided by HTML::Mason to visualize all components used by a request.

API

_initialise creates the HTML::Mason::Interp instance used for introspection.

_parse_file walks through the request and initiates the recursion.

_process_component adds a component to the diagram. This is done recursively for the parent and each called component.

helper method to convert the declared_args of components to attributes

helper method to convert the declared_args of methods and subcomponents to Params

Releases

7 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7–10
  2. 11
  3. 12–13

Author

Peter Franke, 2011, [email protected]

License

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

From autodia 2.14-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.