Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Add "Image Miniatures" to your HTML

by liverpole (Monsignor)
on Feb 18, 2007 at 23:16 UTC ( #600763=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Strict
    use strict;
    ...
    my $p = new readxpm($xpm)->to_html($out);
    (-e $out) and print "Created HTML file '$out'\n";
    
  2. or download this
    package readxpm;
    
    ...
    perl(1)
    
    =cut
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://600763]
Approved by marto
Front-paged by planetscape
help
Chatterbox?
[Corion]: Heh. Perl heredocs are nasty - Filter::Simple doesn't know whether the line continued after the heredoc or not. The heredoc payload starts on the next line.
[Corion]: So currently, Filter::Simple mangles your code/line numbers if you use heredocs ;)
[Corion]: Of course, from a certain angle, it doesn't matter if your code line continues after <<FOO, but it would be nice if Filter::Simple / Text::Balanced didn't mangle that...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-01-22 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (187 votes). Check out past polls.