A TOML 1.0.0 compliant serializer/deserializer.
Parsing TOML
use TOML;
my $config = from-toml("config.toml".IO.slurp);
# use $config like any ol' hash
Generating TOML
use TOML;
my $config = {
bands => ['green day',
'motorhead',
't swift',],
favorite => 'little big',
};
my $toml-config = to-toml($config);
#favorite = "little big"
#bands = ["green day",
# "motorhead",
# "t swift"]
The tests here use @BurntSushi's toml-tests.