![]() |
![]()
| ![]() |
![]()
NAMETOML - Parser for Tom's Obvious, Minimal Language. SYNOPSISuse 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 ALSOTOML::Parser LICENSEThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA AUTHORDarren Chamberlain <darren@cpan.org> CONTRIBUTORS
|