The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::MenuGrinder::Role::BeforeMogrify - WWW::MenuGrinder role for plugins that need to initialization before mogrifying.

VERSION

version 0.06

METHODS

$plugin->before_mogrify($menu)

The before_mogrify method is called immediately before per-request mogrifier plugins are loaded. It is primarily intended to allow plugins to do initialization, for example computing any information that depends on the request context but only needs to be computed once per request.

AUTHOR

Andrew Rodland <andrew@hbslabs.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by HBS Labs, LLC..

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.