---
name: "Embperl::Syntax::POD"
section: "3pm"
platform: "linux"
package: "libembperl-perl"
version: "2.5.0-17"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/Embperl::Syntax::POD"
---

# Embperl::Syntax::POD(3pm)

convert POD to XML on-the-fly

## NAME

Embperl::Syntax::POD - convert POD to XML on-the-fly

## SYNOPSIS

## DESCRIPTION

Class derived from Embperl::Syntax to convert Perl Plain Old Documentation (POD) files on the fly into XML.

Used for generating the Embperl online documentation from the Embperl POD files. See to eg directory in the distribution for an example how to use it.

## TODO

Documentation of the resulting XML format still has to be written...

## Methods

*Embperl::Syntax::POD* defines the following methods:

### Embperl::Syntax::POD -\> new / $self -\> new

Create a new syntax class. This method should only be called inside a constructor of a derived class.

### AddPODCmd ($cmdname, $procinfo)

Add a new POD command with name `$cmdname` and use processor info from `$procinfo`. See *Embperl::Syntax* for a definition of procinfo.

### AddPODCmdStartEnd ($cmdname, $endname, $procinfo)

Add a new POD command with name `$cmdname` and use processor info from `$procinfo`. Addtionaly specify that a matching `$endname` POD command must be found to end the block, that is started by this POD command. See *Embperl::Syntax* for a definition of procinfo.

## Author

G. Richter (richter at embperl dot org)

## See Also

Embperl::Syntax
