Lee Aylward > IRC-Formatting-HTML-0.08 > IRC::Formatting::HTML

Download:
IRC-Formatting-HTML-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.08   Source   Latest Release: IRC-Formatting-HTML-0.09

NAME ^

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

VERSION ^

Version 0.08

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($irctext);
    print $html

    # the above will print:
    # <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, <leedo@cpan.org>

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.