aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorZoffix Znet <cpan@zoffix.com>2015-12-21 09:28:57 -0500
committerZoffix Znet <cpan@zoffix.com>2015-12-21 09:28:57 -0500
commit60ce4c8fab7770317de3ef83f87f0dba438777b3 (patch)
tree2dbbf3bceab97ec841e24424ddb75b980b86fdd0 /README.md
parent90b0541926acb6ef39cb0ad5c854687662f32d0a (diff)
Indicate we"re running P6
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index e32dec8..d99a834 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ IRC::Client - Extendable Internet Relay Chat client
The plugin chain handling the message will stop after this plugin.
-```
+```perl6
unit class IRC::Client::Plugin::PingPong is IRC::Client::Plugin;
method irc-ping ($irc, $msg) { $irc.ssay("PONG {$irc.nick} $msg<params>[0]") }
```
@@ -37,7 +37,7 @@ every five seconds. We also subscribe to all events and print some debugging
info. By returning a special constant, we tell other plugins to continue
processing the data.
-```
+```perl6
use IRC::Client::Plugin; # import constants
unit class IRC::Client::Plugin::Debugger is IRC::Client::Plugin;