NAME

IRC::Formatting::HTML - Convert raw IRC formatting to HTML

VERSION

Version 0.02

SYNOPSIS

Convert raw IRC formatting to HTML

use IRC::Formatting::HTML;

...

my $irctext = "\002\0031,2Iron & Wine";
my $html = IRC::Formatting::HTML->formatted_string_to_html();
print $html # prints <span style="font-weight: bold;color: #000; background-color: #008">Iron &amp; Wine</span>

METHODS

formatted_string_to_html IRC::Formatting::HTML->formatted_string_to_html($irctext)

Takes an irc formatted string and returns the HTML version

AUTHOR

Lee Aylward, <lee at laylward.com>

BUGS

Please report any bugs or feature requests to bug-irc-formatting-html at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IRC-Formatting-HTML. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc IRC::Formatting::HTML

You can also look for information at:

ACKNOWLEDGEMENTS This is a direct port of Sam Stephenson's ruby version.

COPYRIGHT & LICENSE

Copyright 2009 Lee Aylward, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.