MarpaX::Demo::StringParser::Config - A config manager for use by MarpaX::Demo::StringParser
End-users do not need to call the methods in this module.
MarpaX::Demo::StringParser::Config provides a config manager for use by MarpaX::Demo::StringParser.
Install MarpaX::Demo::StringParser as you would for any Perl module:
sudo cpan MarpaX::Demo::StringParser
or unpack the distro, and then either:
sudo ./Build install
make (or dmake or nmake)
read() is called automatically by new(). It does the actual reading of the config file.
If the file can't be read, die $string is called.
The path to the config file is determined by:
path(File::HomeDir -> my_dist_config('MarpaX-Demo-StringParser'), '.htmarpax.demo.stringparser.conf');
The author runs scripts/copy.config.pl, which uses similar code, to move the config file from the config/ directory in the disto into an OS-dependent directory.
The run-time code uses this module to look in the same directory as used by scripts/copy.config.pl.
Email the author, or log a bug on RT:
MarpaX::Demo::StringParser was written by Ron Savage <email@example.com> in 2013.
Home page: http://savage.net.au/index.html.
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:
To install MarpaX::Demo::StringParser, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.