in reply to Re: introspection, or running pod2html on itself
in thread introspection, or running pod2html on itself
Yikes. Your plan will require that end-users have 'pod2html' available to them, and that you can feed pod2html the original perl scripts which made your pp executable. And avoid hard-coded paths!Rats! That is a bloody good point, that I had not thought of. Given that, your suggestion for embedding the html as a __DATA__ block, or even as a scalar (using HEREDOC), and then spitting that out, might be the best for now.
However, being able to spit out customized html might be worthwhile in other situations. For example, if I include a --configure option which configures the script for the user, then have --makdoc deliver a customized documentation. In that case, I would still need to figure out how to embed pod2html itself inside the .exe using pp.
Any suggestions welcome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: introspection, or running pod2html on itself
by radiantmatrix (Parson) on Sep 15, 2005 at 20:38 UTC |