Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: pod and images

by jmcnamara (Monsignor)
on Nov 18, 2011 at 00:37 UTC ( #938715=note: print w/ replies, xml ) Need Help??

in reply to pod and images

You can get to display an image if the HTML is embedded in the Pod on a single line like this:

=pod ... some Pod here =begin html <p><center><img src=" +ges/examples/rich_strings.jpg" width="640" height="420" alt="Output f +rom" /></center></p> =end html ... more Pod here. =cut

You can see the result here. Metacpan also supports this.

The image above links off-site to a GitHub repository but you could probably link back to by working out the final destination of the images when expanded on the site. You can also use this method for local documentation and images.


Comment on Re: pod and images
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938715]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2015-10-05 04:42 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (107 votes), past polls