---
name: "Autodia::Handler::Mason"
section: "3pm"
platform: "linux"
package: "autodia"
version: "2.14-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Autodia::Handler::Mason"
---

# Autodia::Handler::Mason(3pm)

Allows Autodia to parse HTML::Mason files

## NAME

Autodia::Handler::Mason - Allows Autodia to parse HTML::Mason files

## SYNOPSIS

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

## DESCRIPTION

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

## AUTHOR

Peter Franke, 2011, autodia\_mason@pfranke.de

## LICENSE

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