Home > Software engineering >  Can Perl POD represent quoting from an email?
Can Perl POD represent quoting from an email?

Time:06-22

I would like to quote someone in a Perl POD so it looks something like this:


Joe said:

It is a great day to play in the rain!


Indenting makes it think it is code so metacpan.org highlights it as code. I've looked around and not found an example of this, so perhaps it is not supported? This is the link containing the quotation and (if possible) I would like to see the content as a quotation instead of as code.

Ideas?

CodePudding user response:

Pure Pod doesn't have a quote feature.

If you want something that Pod doesn't do, you can make your own translator that recognizes your new feature:

=begin quote

It is a great day to play in the rain!

=end quote

See Pod::Simple as a good place to start.

  • Related