|XP is just a number|
pod and imagesby otto (Beadle)
|on Dec 08, 2008 at 00:59 UTC||Need Help??|
otto has asked for the
wisdom of the Perl Monks concerning the following question:
POD is nice, especially if one is familiar with writing man pages in *roff.
But sometimes I really would like to add images. The old saying of a picture is worth a 1000 words can be quite true.
Thoughts, pointers, other people's adventures/mis-adventures would be appreciated. And what might it be like to have images in the pod as seen thru cpan...
So far I've gotten 2 replies that have pointed to ascii images, which indicates I really did not ask my question quite right. I would like to utilize actual images (eg gif, png, svg, ...) type images.
My only current solution is to embed a url and have the user click on it. But if you distribute the file, then it will always go to the same url. But it would be nice to have the images delivered with the other code/pod and have the url go to that local copy. Regards,
More specifically, suppose I make a nice image file, png say, and include that in a distribution and upload it to cpan. How can I write the pod so that when the pod is displayed in cpan, the image shows up in the html.