From 60ce4c8fab7770317de3ef83f87f0dba438777b3 Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Mon, 21 Dec 2015 09:28:57 -0500 Subject: Indicate we"re running P6 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') 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[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; -- cgit v1.1