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::Languages::Dash::Config - A config manager for use by MarpaX::Languages::Dash

Synopsis

End-users do not need to call the methods in this module.

See MarpaX::Languages::Dash.

Description

MarpaX::Languages::Dash::Config provides a config manager for use by MarpaX::Languages::Dash.

Installation

Install MarpaX::Languages::Dash as you would for any Perl module:

Run:

        cpanm MarpaX::Languages::Dash

or run:

        sudo cpan MarpaX::Languages::Dash

or unpack the distro, and then either:

        perl Build.PL
        ./Build
        ./Build test
        sudo ./Build install

or:

        perl Makefile.PL
        make (or dmake or nmake)
        make test
        make install

Methods

read()

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-Languages-Dash'), '.htmarpax.languages.dash.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.

Support

Email the author, or log a bug on RT:

https://rt.cpan.org/Public/Dist/Display.html?Name=MarpaX::Languages::Dash.

Author

MarpaX::Languages::Dash 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