in reply to Re^2: introspection, or running pod2html on itself
in thread introspection, or running pod2html on itself

If you use a HEREDOC, you can have variables to interpolate inside it, meaning you can still dump custom documentation.

If you take the __DATA__ route, you can use a template system to generate the custom docs.

Finally, you could include the module POD::HTML in your packed executable and have a subroutine defined in your script that will require it and essentially do what pod2html does for you.

<-radiant.matrix->
Larry Wall is Yoda: there is no try{} (ok, except in Perl6; way to ruin a joke, Larry! ;P)
The Code that can be seen is not the true Code
"In any sufficiently large group of people, most are idiots" - Kaa's Law
  • Comment on Re^3: introspection, or running pod2html on itself