Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
IRC::Toolkit::Role::CaseMap - Role for classes that track IRC casemapping
SYNOPSIS
DESCRIPTION
A Role::Tiny role that provides convenient helper methods for classes that track IRC casemapping, such as IRC client libraries.
This role requires
a casemap attribute that returns one of 'rfc1459', 'ascii', or 'strict-rfc1459' -- see IRC::Toolkit::Case for details on IRC casemap issues.
lower
Returns the IRC-lowercased string.
upper
Returns the IRC-uppercased string.
equal
Expects two strings; returns true if they are equal per the current casemap rules. Returns empty list if the strings do not match.
AUTHOR
Jon Portnoy <avenj@cobaltirc.org>