From 835f555b28d1cab5fbefc5230b8877056087909b Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Fri, 29 Jul 2016 06:46:53 -0400 Subject: Use positionals in the docs --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7291c16..e0b0940 100644 --- a/README.md +++ b/README.md @@ -14,15 +14,15 @@ IRC::Client - Extendable Internet Relay Chat client :host :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 -- cgit v1.1