Could someone tell me how I am not using the HTML::FromText module correctly
This is more or less copied from the documentation but does not produce html?
TIA
Owen
#!/usr/bin/perl
use HTML::FromText;
use strict;
my $text = '/data/PerlScripts/test.txt';
my $html = text2html(
$text,
urls => 1,
email => 1,
);
print "$htmln";
----------------------------------
produces
/data/PerlScripts/test.txt
----------------------------------
This is $text
Functional interface that just wraps the OO interface.
This function is exported by default. If you don't want it you can http://www.cpan.org require
the module or use [Email Removed] it with an empty list.