Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pod embedded in pod

1 view
Skip to first unread message

RAPPAZ Francois via pod-people

unread,
Apr 13, 2017, 8:00:02 AM4/13/17
to pod-p...@perl.org

How can I embed pod directives in a pod directive so that they are displayed as plain text ? I have tried =begin pod or =begin text without success. Should I use E<61> instead of =  ?

 

Thanks

 

François

 

Shawn H Corey

unread,
Apr 13, 2017, 9:00:06 AM4/13/17
to pod-p...@perl.org, RAPPAZ Francois
Usually embedded POD is done in a verbatim paragraph since these will
be rendered in a monospace font.

=head1 Embedding POD in a POD

=head1 This is not a heading.
This is a verbatim paragraph.
This will be displayed in a monospace font.

This is a regular paragraph.

=cut


--
Don't stop where the ink does.

Shawn H Corey

Peter Karman

unread,
Apr 13, 2017, 9:00:06 AM4/13/17
to pod-p...@perl.org
RAPPAZ Francois via pod-people wrote on 4/13/17 6:36 AM:
> How can I embed pod directives in a pod directive so that they are displayed as
> plain text ? I have tried =begin pod or =begin text without success. Should I
> use E<61> instead of = ?
>

can you just indent the embedded pod like this?

=pod

example of pod within pod

=pod

=over

=item foo

=item bar

=cut

this was an example. thanks.

=cut

--
Peter Karman . https://karpet.github.io . https://keybase.io/peterkarman
0 new messages