Skip Menu |
 

This queue is for tickets about the text-highlight CPAN distribution.

Report information
The Basics
Id: 25031
Status: new
Priority: 0/
Queue: text-highlight

People
Owner: Nobody in particular
Requestors: kyoshu [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: few text-highlight-0.04 bugs
Date: Mon, 19 Feb 2007 14:43:19 +0200
To: bug-text-highlight [...] rt.cpan.org
From: "algirdas" <algirdas [...] perl.lt>
Download (untitled) / with headers
text/plain 725b
Hello, the code i use: use Text::Highlight 'preload'; my $th = new Text::Highlight( wrapper => "<pre>%s</pre>" ); $turinys = $th->highlight( 'Perl', $turinys ); it works fine, but there are few bugs i would like to mention, so maybe you could fix them: 1. the $#variable problem: example: $slapt .= $simbol[ int( rand $#simbol ) ]; problem: $#variable returns nuber of @variable, and it's not a comment. 2. s/ ??? / problem: example: s/<a href="http:\/\/blabla.com//eg; problem: there is a ", but it's inside regexp, and it's not a string, when such happens, module looks for next ", and it can be far.. thanks for your time, hope you respond me, it's a good idea module, and useful one. -- http://perl.lt


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.