Autodi...::Mason(3pm)

πŸ“¦
version 2.14 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble

πŸ’– NAME πŸ’–

Autodia::Handler::Mason β€” the little handler that lets Autodia parse your HTML::Mason files, no cap πŸŽ€


✨ SYNOPSIS ✨

okay bestie, you're gonna wanna see Autodia and HTML::Mason for the full lore, but here's the tea β˜• β€” use -p to specify the comp_root, and -i to fetch one or more components. like, for example:

./autodia -l Mason -p 'examples/mason' -i 'index.html login.html'

and if you need to allow globals β€” you know, the $c and $l girlies β€” just add -G '$c $l' to the command line. slay πŸ’…


🌸 DESCRIPTION 🌸

Autodia::Handler using introspection provided by HTML::Mason to visualize all components used by a request. it's giving diagram energy, fr fr πŸ¦‹


πŸ‘‘ API πŸ‘‘

  • _initialise β€” creates the HTML::Mason::Interp instance used for introspection. the whole setup era ✨
  • _parse_file β€” walks through the request and initiates the recursion. main character behaviour, honestly πŸ’…
  • _process_component β€” adds a component to the diagram. and bestie, it does this recursively for the parent and each called component, so it goes all the way down 🌈
  • 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 β€” iconic, we love a credited author πŸ’–


πŸ“œ LICENSE πŸ“œ

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. free as in freedom, bestie πŸ•ŠοΈ


and that's the whole page, periodt πŸ’€βœ¨

signing off from perl v5.36.0, dated 2022-11-02 β€” mwah, take care of her πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from