home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _78a94c06ee497a1073df7b6e9bba3138 < prev    next >
Text File  |  2000-03-23  |  3KB  |  86 lines

  1.  
  2. <HTML>
  3. <HEAD>
  4. <TITLE>Pod::Text::Color - Convert POD data to formatted color ASCII text</TITLE>
  5. <LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
  6. <LINK REV="made" HREF="mailto:">
  7. </HEAD>
  8.  
  9. <BODY>
  10. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  11. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  12. <STRONG><P CLASS=block> Pod::Text::Color - Convert POD data to formatted color ASCII text</P></STRONG>
  13. </TD></TR>
  14. </TABLE>
  15.  
  16. <A NAME="__index__"></A>
  17. <!-- INDEX BEGIN -->
  18.  
  19. <UL>
  20.  
  21.     <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
  22.  
  23.     <LI><A HREF="#synopsis">SYNOPSIS</A></LI>
  24.     <LI><A HREF="#description">DESCRIPTION</A></LI>
  25.     <LI><A HREF="#bugs">BUGS</A></LI>
  26.     <LI><A HREF="#see also">SEE ALSO</A></LI>
  27.     <LI><A HREF="#author">AUTHOR</A></LI>
  28. </UL>
  29. <!-- INDEX END -->
  30.  
  31. <HR>
  32. <P>
  33. <H1><A NAME="name">NAME</A></H1>
  34. <P>Pod::Text::Color - Convert POD data to formatted color ASCII text</P>
  35. <P>
  36. <HR>
  37. <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
  38. <UL>
  39. <LI>Linux</LI>
  40. <LI>Solaris</LI>
  41. <LI>Windows</LI>
  42. </UL>
  43. <HR>
  44. <H1><A NAME="synopsis">SYNOPSIS</A></H1>
  45. <PRE>
  46.     use Pod::Text::Color;
  47.     my $parser = Pod::Text::Color->new (sentence => 0, width => 78);</PRE>
  48. <PRE>
  49.     # Read POD from STDIN and write to STDOUT.
  50.     $parser->parse_from_filehandle;</PRE>
  51. <PRE>
  52.     # Read POD from file.pod and write to file.txt.
  53.     $parser->parse_from_file ('file.pod', 'file.txt');</PRE>
  54. <P>
  55. <HR>
  56. <H1><A NAME="description">DESCRIPTION</A></H1>
  57. <P>Pod::Text::Color is a simple subclass of Pod::Text that highlights output
  58. text using ANSI color escape sequences.  Apart from the color, it in all
  59. ways functions like Pod::Text.  See <A HREF="../../../lib/Pod/Text.html">the Pod::Text manpage</A> for details and available
  60. options.</P>
  61. <P>Term::ANSIColor is used to get colors and therefore must be installed to use
  62. this module.</P>
  63. <P>
  64. <HR>
  65. <H1><A NAME="bugs">BUGS</A></H1>
  66. <P>This is just a basic proof of concept.  It should be seriously expanded to
  67. support configurable coloration via options passed to the constructor, and
  68. <STRONG>pod2text</STRONG> should be taught about those.</P>
  69. <P>
  70. <HR>
  71. <H1><A NAME="see also">SEE ALSO</A></H1>
  72. <P><A HREF="../../../lib/Pod/Text.html">Pod::Text</A>, <A HREF="../../../lib/Pod/Parser.html">Pod::Parser</A></P>
  73. <P>
  74. <HR>
  75. <H1><A NAME="author">AUTHOR</A></H1>
  76. <P>Russ Allbery <<A HREF="mailto:rra@stanford.edu">rra@stanford.edu</A>>.</P>
  77. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  78. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  79. <STRONG><P CLASS=block> Pod::Text::Color - Convert POD data to formatted color ASCII text</P></STRONG>
  80. </TD></TR>
  81. </TABLE>
  82.  
  83. </BODY>
  84.  
  85. </HTML>
  86.