The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MarpaX::Grammar::GraphViz2::Utils - Helps generate the demo page for MarpaX::Grammar::GraphViz2

Synopsis

This module is only for use by the author of MarpaX::Grammar::GraphViz2.

See scripts/generate.demo.pl.

Description

Some utils to simplify generation of the demo page.

It is not expected that end-users would ever need to use this module.

Constructor and Initialization

Calling new()

new() is called as my($obj) = MarpaX::Grammar::GraphViz2::Utils -> new().

It returns a new object of type MarpaX::Grammar::GraphViz2::Utils.

Methods

generate_demo_environment()

Returns a hashref of OS, etc, values.

Keys are left and right, to suit htdocs/assets/templates/marpax/grammar/graphviz2/fancy.table.tx.

*.tx files are used by Text::Xslate.

Called by "generate_demo_index()".

generate_demo_index()

Calls "get_files($dir_name, $type)" in MarpaX::Grammar::GraphViz2::Filer and "generate_demo_environment()".

Writes html/index.html.

Version Numbers

Version numbers < 1.00 represent development versions. From 1.00 up, they are production versions.

Machine-Readable Change Log

The file Changes was converted into Changelog.ini by Module::Metadata::Changes.

Support

Email the author, or log a bug on RT:

https://rt.cpan.org/Public/Dist/Display.html?Name=MarpaX::Grammar::GraphViz2.

Author

MarpaX::Grammar::GraphViz2 was written by Ron Savage <ron@savage.net.au> in 2013.

Home page: http://savage.net.au/index.html.

Copyright

Australian copyright (c) 2013, Ron Savage.

        All Programs of mine are 'OSI Certified Open Source Software';
        you can redistribute them and/or modify them under the terms of
        The Artistic License, a copy of which is available at:
        http://www.opensource.org/licenses/index.html