aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2017-07-30 05:38:28 +0200
committerPatrick Spek <p.spek@tyil.nl>2017-07-30 05:38:28 +0200
commit28cbec762316e9e3734c321b2387f8b1f736b2ea (patch)
treee84a31f5739af4226da0ba9aecaac31a99e1b7af
parentcc0fcb245bf87fbf518260db591d139ff218d9af (diff)
Update README
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
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