From 7914561b324adc954f6dc0ea27e302378c9259b3 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Sun, 30 Jul 2017 05:38:28 +0200 Subject: Update README --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e5a082b..6bc6d23 100644 --- a/README.md +++ b/README.md @@ -64,13 +64,14 @@ installed yourself. The following parsers are available: - [`Config::Parser::yaml`](https://github.com/scriptkitties/p6-Config-Parser-yaml) +- [`Config::Parser::toml`](https://github.com/scriptkitties/p6-Config-Parser-toml) ### Writing your own parser -If you want to make your own parser, simply make a new class in the -`Config::Parser` namespace. This class should extend the `Config::Parser` class, -and implement the `read` and `write` methods. The `read` method *must* return a -`Hash`. The `write` method *must* return a `Bool`, `True` when writing was -successful, `False` if not. +If you want to make your own parser, simply make a new class which extends the +`Config::Parser` class, and implements the `read` and `write` methods. The +`read` method *must* return a `Hash`. The `write` method *must* return a +`Bool`, `True` when writing was successful, `False` if not. Throwing +`Exception`s to indicate the kind of failure is recommended. ## License This program is free software: you can redistribute it and/or modify it under -- cgit v1.1