NAME
Gtk2::PodViewer::Parser - a custom POD Parser for Gtk2::PodViewer.
SYNOPSIS
my $parser = Gtk2::PodViewer::Parser->new(
buffer => $Gtk2TextView->get_buffer,
);
$parser->parse_from_file($file);
DESCRIPTION
Gtk2::PodViewer::Parser is a custom Pod parser for the Gtk2::PodViewer widget. You should never need to use it directly.
It is based on Pod::Parser.
METHODS
One neat method not implemented by Pod::Parser is
$parser->parse_from_string($string);
This parses a scalar containing POD data, using IO::Scalar to create a tied filehandle.
IMPORTABLE FUNCTIONS
use Gtk2::PodViewer::Parser qw(decode_entities);
my $text = decode_entities($pod);
This function takes a string of POD, and returns it with all the POD entities (eg E<gt>
=> ">") decoded into readable characters.
SEE ALSO
AUTHORS
Gavin Brown and Torsten Schoenfeld.
COPYRIGHT
(c) 2004 Gavin Brown (gavin.brown@uk.com). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.