in reply to Re: POD from code?
in thread POD from code?

As a side note:

An alternative to parsing here-docs is putting the POD after __DATA__.

This clean separation between data and code could also facilitate automatic generation of this "Pod-Data"-hybrid.

Or even isolating it into a dedicated module, since 'Text after __DATA__ may be read via the filehandle "PACKNAME::DATA"'

Cheers Rolf