-
-
Save zoffixznet/ad206482a952cbdd5b09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ModuleFinder { | |
method irc-to-me ($irc, $e, %res) { | |
return IRC_NOT_HANDLED unless %res<what> ~~ /^ 'module' \s+ $<module>=(.+)\s*/; | |
$irc.respond: |%res, :what("Link to module: http://modules.perl6.org/repo/$<module>"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment