On 14/06/2012 23:38, Mike Flannigan wrote:
On 6/13/2012 9:04 AM, Rob Dixon wrote:
Hey Mike
This is a bug in HTML::TextToHTML. I have emailed the author.
In the mean time, if you want to fix your own copy you should modify the
module file HTML/TextToHTML.pm.
Line 1521, which reads
$para = $_;
should be changed to
$para = $source;
HTH,
Rob
Another guy said the exact same thing, but my copy
of TextToHTML.pm has that command at line 1153.
I have version
=head1 AUTHOR
Kathryn Andersen, E<lt>http//www.katspace.comE<gt> 2002,2003
Original txt2html script copyright (C) 2000 Seth Golub <seth AT aigeek.com>
Line 3048 is the last line of the module.
There is no $source in my code, so I am trying to figure
it out.
My version of TextToHTML.pm is located here:
http://www.mflan.com/temp/TextToHTML.pm
Hi Mike
Line 565 of your module file shows that it is version 1.12 which dates
from February 2003.
The API of that version was very different, and I presume you are not
following the documentation that came as part of the module. In
particular that version doesn't support an `instring` option for the
`txt2html` method.
You really should keep your modules up to date, or at least follow the
documentation that comes with the ones you have.
Rob
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/