Orze::Sources::Menu - Build a page tree, suitable for a menu
If there is a base attribute, use the value as the root of the tree (it expects the name of a page). Otherwise, use the current page (you can also set base="." if you want).
base="."
If base="/", use the root of the website as the root of the tree.
base="/"
All pages without a title variable or with the notinmenu attribute set to 1 will be ignored.
notinmenu
The output is a list of hash pointer of the form:
{ name => 'name_of_the_page', title => 'Title of the page', extension => 'extension_of_the_page', path => 'path/to/name_of_the_page', submenu => pointer to a list of the same form, }
To install Orze, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Orze
CPAN shell
perl -MCPAN -e shell install Orze
For more information on module installation, please visit the detailed CPAN module installation guide.