Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: problem HTML::FormatText::WithLinks::AndTables

by Khen1950fx (Canon)
on Dec 07, 2012 at 22:45 UTC ( #1007834=note: print w/replies, xml ) Need Help??

in reply to problem HTML::FormatText::WithLinks::AndTables

Try this:
#!/usr/bin/perl use strict; use warnings; use LWP::Simple; use HTML::FormatText::WithLinks; my $html = get( "" ); my $f = HTML::FormatText::WithLinks->new( base => "", unique_links => 1, link_num_generator => \&generator, before_link => '[%n]', footnote => '%n est %l' ); sub generator() { my $num = shift; $num += 1; return $num; } print $f->parse($html);

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007834]
[stevieb]: for the first time ever, I will have 100% of the documentation and unit tests written for a new distribution before writing even a single character of the C or Perl code required :)
[hippo]: Congrats. I expect the resulting code to be rock solid. :)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2017-01-20 16:46 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (176 votes). Check out past polls.