in reply to Re^2: introspection, or running pod2html on itself
in thread introspection, or running pod2html on itself
pp -o myscript.exe myscript.pl
myscript.pl gets stuffed as script/myscript.pl within the confines of myscript.exe. Hence, pod2html is unable to create anything against myscript.exe (because the pod is hidden inside the script).
That is very disappointing. I could take other monks' advice and use the __DATA__ block to store my html doc and then spit it out as needed, however, I have already got everything mapped out and typed up in pod. What a chore to extract it and redo as html.
unless... any suggestions (asks hopefully).
By the way, how do I find out the full path of the current script? __FILE__ or $0 give only the filename (actually, __FILE__ against the above exe gives script/myscript.pl)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: introspection, or running pod2html on itself
by Anonymous Monk on Oct 23, 2009 at 12:15 UTC |