Config::Plugin::TinyManifold

A plugin which uses Config::Tiny with 1 of N sections
Download

Config::Plugin::TinyManifold Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ron Savage
  • Publisher web site:
  • http://search.cpan.org/~rsavage/

Config::Plugin::TinyManifold Tags


Config::Plugin::TinyManifold Description

When you 'use' the Config::Plugin::TinyManifold Perl module (as in the Synopsis), it automatically imports into your class the method "config_maifold($file_name)" to give you access to config data stored in an *.ini file.But more than that, it uses a value from the config file to select 1 of N sections within that file as the whole config. See "config_manifold($file_name)" for details.Synopsis package My::App; use strict; use warnings; use Config::Plugin::TinyManifold; # For config_manifold(). # ------------------------------------------------ sub marine { my($self) = @_; my($config) = $self -> config_manifold('/some/dir/config.tiny.manifold.ini'); } # End of marine. # -------------------------------------------------- 1;t/config.tiny.manifold.ini ships with the Config::Plugin::TinyManifold distro, and is used in the test file t/test.t.Product's homepage


Config::Plugin::TinyManifold Related Software