aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2017-07-30 05:38:28 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-07-25 02:16:38 +0200
commit7914561b324adc954f6dc0ea27e302378c9259b3 (patch)
treee84a31f5739af4226da0ba9aecaac31a99e1b7af /README.md
parentc366fa9f7308b8e96e424f8f877d2fa768ee71b0 (diff)
Update README
Diffstat (limited to 'README.md')
-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