in reply to [Solved] Pod::Usage - Can I have multiple Pods in one script?

I'm not sure that I understand what you're trying to do. Based on the thread title, it sounds like you want to use multiple POD files with Pod::Usage. To do that, take a look at the CAVEATS section of the Pod::Usage documentation. It shows how to provide a file to Pod::Usage. I downloaded the tarball for Pod::Usage version 1.33 and the same information is in the caveat section of it's documentation as well.

  • Comment on Re: Pod::Usage - Can I have multiple Pods in one script?

Replies are listed 'Best First'.
Re^2: Pod::Usage - Can I have multiple Pods in one script?
by Skeeve (Parson) on Jan 20, 2016 at 06:19 UTC

    Thanks for pointing me to that. It sounds like an interesting idea although I'd have to put the documentation into different files then.

    Update: See Update #2 in the original post. I solved this by putting the PODs into a scalar and using in-memory files.


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e