ConfigReader::Simple

ConfigReader::Simple is a simple configuration file parser.
Download

ConfigReader::Simple Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • brian d foy
  • Publisher web site:
  • http://search.cpan.org/~bdfoy/

ConfigReader::Simple Tags


ConfigReader::Simple Description

ConfigReader::Simple is a simple configuration file parser. ConfigReader::Simple is a simple configuration file parser.SYNOPSIS use ConfigReader::Simple; # parse one file $config = ConfigReader::Simple->new("configrc", ); # parse multiple files, in order $config = ConfigReader::Simple->new_multiple( Files => , Keys => ); my @directives = $config->directives; $config->get( "Foo" ); if( $config->exists( "Bar" ) ) { print "Bar was in the config filen"; } # copy an object to play with it separately my $clone = $config->clone; # only affects clone $clone->set( "Foo", "Buster" ); # save the config to a single file $clone->save( "configrc" ) # save the config to a single file, but only with # certain directives $clone->save( "configrc" => ) # save to multiple configuration files $clone->save( "configrc" => , "global" => , );ConfigReader::Simple reads and parses simple configuration files. It is designed to be smaller and simpler than the ConfigReader module and is more suited to simple configuration files. Requirements: · Perl


ConfigReader::Simple Related Software