Pod::Event::Handler::POD - A collection of POD event handlers for Pod::Event::Parser
use v6; use Pod::Event::Parser; use Pod::Event::Handler::POD; parse("path/to/file.pod", pod2pod($str_buffer)); parse("path/to/file.pod", pod2pod($fh));
This is a collection of event handlers for use with Pod::Event::Parser which will perform POD roundtripping.
- pod2pod (Str $buffer is rw) =item pod2pod (IO $fh)
Returns a hash of event handlers for Pod::Event::Parser.
You can either pass in a string
$bufferwhich will get the POD appended to it, or you can pass in a filehandle
$fhwhich the POD will be printed too.
stevan little, <email@example.com>
Copyright (c) 2005. Stevan Little. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.