NAME

GraphViz2::Marpa::Config - A config file helper for GraphViz2::Marpa

Synopsis

See GraphViz2::Marpa.

Description

GraphViz2::Marpa provides a Marpa-based parser for Graphviz dot files, and this module helps finding and loading the config file, which in turn helps generate the demo page.

This module is really only of interest to the author.

Constructor and Initialization

Calling new()

new() is called as my($obj) = GraphViz2::Marpa::Config -> new(k1 => v1, k2 => v2, ...).

It returns a new object of type GraphViz2::Marpa::Config.

Key-value pairs accepted in the parameter list:

o (none)

Methods

read($path)

Uses $path to find and read the config file into a hashref. By default it assumes scripts/copy.config.pl has been run, and loads (effectively from config/), .htgraphviz2.marpa.conf.

If the file can't be read, die is called.

See also scripts/copy.config.pl and scripts/find.config.pl.

Machine-Readable Change Log

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

Version Numbers

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

Repository

https://github.com/ronsavage/GraphViz2-Marpa

Support

Email the author, or log a bug on RT:

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

Author

GraphViz2::Marpa was written by Ron Savage <ron@savage.net.au> in 2012.

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

Copyright

Australian copyright (c) 2012, 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 Perl License, a copy of which is available at:
http://dev.perl.org/licenses/