home *** CD-ROM | disk | FTP | other *** search
/ Netrunner 2004 October / NETRUNNER0410.ISO / regular / ActivePerl-5.8.4.810-MSWin32-x86.msi / _6d1558104b66fcbeb06b721a576c3d03 < prev    next >
Text File  |  2004-06-01  |  1KB  |  64 lines

  1.  
  2. require 5;
  3. package Pod::Perldoc::ToXml;
  4. use strict;
  5. use warnings;
  6. use vars qw($VERSION);
  7.  
  8. use base qw( Pod::Simple::XMLOutStream );
  9.  
  10. $VERSION   # so that ->VERSION is happy
  11. # stop CPAN from seeing this
  12.  =
  13. $Pod::Simple::XMLOutStream::VERSION;
  14.  
  15.  
  16. sub is_pageable        { 0 }
  17. sub write_with_binmode { 0 }
  18. sub output_extension   { 'xml' }
  19.  
  20. 1;
  21. __END__
  22.  
  23. =head1 NAME
  24.  
  25. Pod::Perldoc::ToXml - let Perldoc render Pod as XML
  26.  
  27. =head1 SYNOPSIS
  28.  
  29.   perldoc -o xml -d out.xml Some::Modulename
  30.  
  31. =head1 DESCRIPTION
  32.  
  33. This is a "plug-in" class that allows Perldoc to use
  34. Pod::Simple::XMLOutStream as a formatter class.
  35.  
  36. This is actually a Pod::Simple::XMLOutStream subclass, and inherits
  37. all its options.
  38.  
  39. You have to have installed Pod::Simple::XMLOutStream (from the Pod::Simple
  40. dist), or this class won't work.
  41.  
  42.  
  43. =head1 SEE ALSO
  44.  
  45. L<Pod::Simple::XMLOutStream>, L<Pod::Simple>, L<Pod::Perldoc>
  46.  
  47. =head1 COPYRIGHT AND DISCLAIMERS
  48.  
  49. Copyright (c) 2002 Sean M. Burke.  All rights reserved.
  50.  
  51. This library is free software; you can redistribute it and/or modify it
  52. under the same terms as Perl itself.
  53.  
  54. This program is distributed in the hope that it will be useful, but
  55. without any warranty; without even the implied warranty of
  56. merchantability or fitness for a particular purpose.
  57.  
  58. =head1 AUTHOR
  59.  
  60. Sean M. Burke C<sburke@cpan.org>
  61.  
  62. =cut
  63.  
  64.