IRC::Toolkit::Case::MappedString - Strings with casemaps attached
use IRC::Toolkit::Case; my $str = irc_str( strict => 'Nick^[Abc]' ); if ($str eq 'nick^{abc}') { # true }
These overloaded objects represent IRC strings with a specific IRC casemap attached (such as nick/channel names).
See IRC::Toolkit::Case for more details on IRC casemapping peculiarities.
Creates a new string object.
Expects a casemap and string; if given a single argument, it is taken to be the string and the casemap defaults to RFC1459.
RFC1459
Returns the raw string.
Returns a new string object containing the uppercased (per specified rules) string.
Returns a new string object containing the lowercased (per specified rules) string.
Returns the currently-configured casemap setting.
Returns the string's length.
Jon Portnoy <avenj@cobaltirc.org>
To install IRC::Toolkit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IRC::Toolkit
CPAN shell
perl -MCPAN -e shell install IRC::Toolkit
For more information on module installation, please visit the detailed CPAN module installation guide.