|
|
| No such thing as a small change | |
| PerlMonks |
Re^3: introspection, or running pod2html on itselfby punkish (Priest) |
| on Sep 15, 2005 at 16:46 UTC ( [id://492422]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I spoke too soon. While Pod::Html does work very well, everything fails against a packed .exe created with pp. Seems like the package stuffs the script inside a folder within the .exe. So, if my script is myscript.pl, and I do the following
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)
--
when small people start casting long shadows, it is time to go to bed
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||