Ron Savage > Benchmark-Featureset-LocaleCountry-1.03 > Benchmark::Featureset::LocaleCountry::Config

Download:
Benchmark-Featureset-LocaleCountry-1.03.tgz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.03   Source  

NAME ^

Benchmark::Featureset::LocaleCountry::Config - Compare Locale::Codes, Locale::Country::Multilingual, WWW::Scraper::Wikipedia::ISO3166, etc

Synopsis ^

See Benchmark::Featureset::LocaleCountry.

Description ^

Benchmark::Featureset::LocaleCountry provides subcountry names in their native scripts.

Methods ^

init()

For use by subclasses.

Sets default values for object attributes.

new()

For use by subclasses.

read()

read() is called by new(). It does the actual reading of the config file.

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

The path to the config file is determined by:

        Path::Class::file(File::HomeDir -> my_dist_config('Benchmark-Featureset-LocaleCountry'), '.htbenchmark.featureset.localecountry.conf');

During installation, you should have run scripts/copy.config.pl, which uses the same 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=Benchmark::Featureset::LocaleCountry.

Author ^

Benchmark::Featureset::LocaleCountry was written by Ron Savage <ron@savage.net.au> in 2011.

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

Copyright ^

Australian copyright (c) 2011, 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
syntax highlighting: