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

Owner: Nobody in particular
Requestors: kyoshu [...]

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 [...]
From: "algirdas" <algirdas [...]>
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:\/\/; 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. --

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

Please report any issues with to