NAME

XAS::Lib::Mixins::Configs - A mixin for handling config files

SYNOPSIS

use XAS::Class;
  version   => '0.01',
  base      => 'XAS::Base',
  mixin     => 'XAS::Lib::Mixins::Configs',
  accessors => 'cfg',
;

DESCRIPTION

This mixin provides a standardized way to load .ini files.

METHODS

load_config($filename, $handle)

This method will load a .ini style configuration file. It uses the following parameters:

$filename

The file name for the configuration file.

$handle

An optional name to the accessor that will access the Config::IniFiles object in the current self. This name defaults to 'cfg'.

SEE ALSO

XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (C) 2014 Kevin L. Esteb

1 POD Error

The following errors were encountered while parsing the POD:

Around line 101:

Unknown directive: =This