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

OpenInteract2::Config::IniFile - OI configuration using INI files

SYNOPSIS

 my $ini = OpenInteract2::Config->new( 'ini', { filename => 'foo.ini' } );
 print "Value of foo.bar: $ini->{foo}{bar}\n";

DESCRIPTION

Subclass of OpenInteract2::Config that translates files/content to/from INI format.

METHODS

valid_keys()

Returns the valid keys in this configuration.

read_config()

Reads a configuration from a file or content passed in.

write_config( [ $filename ] )

Writes the existing configuration to a file. If $filename not specified will use the file used to originally open the configuration.

BUGS

None known.

TO DO

Nothing known.

SEE ALSO

OpenInteract::Config::Ini

OpenInteract2::Config

COPYRIGHT

Copyright (c) 2002-2003 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHORS

Chris Winters <chris@cwinters.com>