diff options
author | Zoffix Znet <cpan@zoffix.com> | 2016-07-29 06:46:53 -0400 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2016-07-29 06:46:53 -0400 |
commit | 835f555b28d1cab5fbefc5230b8877056087909b (patch) | |
tree | d97f7cd97971fdc53321c7fceacc0a07affd3f1a | |
parent | 25598e1f5b3bafe6fb78e99ddb7911b8c439e1e3 (diff) |
Use positionals in the docs
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14,15 +14,15 @@ IRC::Client - Extendable Internet Relay Chat client :host<irc.freenode.net> :channels<#perl6bot #zofbot> :debug - :plugins( + :plugins[ class { method irc-to-me ($ where /hello/) { 'Hello to you too!'} } - ) - :filters( + ] + :filters[ -> $text where .chars > 200 { 'The output is too large to show here. See: ' ~ Pastebin::Shadowcat.new.paste: $text; } - ); + ]; ``` # DESCRIPTION |