Build Status

NAME

TOML - Parser for Tom's Obvious, Minimal Language.

SYNOPSIS

use TOML qw(from_toml to_toml);

# Parsing toml
my $toml = slurp("~/.foo.toml");
my $data = from_toml($toml);

# With error checking
my ($data, $err) = from_toml($toml);
unless ($data) {
    die "Error parsing toml: $err";
}

# Creating toml
my $toml = to_toml($data); 

DESCRIPTION

TOML implements a parser for Tom's Obvious, Minimal Language, as defined at https://github.com/mojombo/toml. TOML exports two subroutines, from_toml and to_toml,

FAQ

FUNCTIONS

SEE ALSO

TOML::Parser

AUTHOR

Darren Chamberlain darren@cpan.org

CONTRIBUTORS