Skip Menu |
 

This queue is for tickets about the HTML-Scrubber CPAN distribution.

Report information
The Basics
Id: 79044
Status: rejected
Priority: 0/
Queue: HTML-Scrubber

People
Owner: Nobody in particular
Requestors: daniel.torres0085 [...] gmail.com
Cc:
AdminCc:

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



Subject: Object problem
Date: Fri, 17 Aug 2012 09:23:02 -0400
To: bug-HTML-Scrubber [...] rt.cpan.org
From: Daniel Torres Sandi <daniel.torres0085 [...] gmail.com>
Download (untitled) / with headers
text/plain 232b
When I run more than once only shows the first value: foreach (@content) { $description = $scrubber->scrub($_); print $description; # this always shows the same value (first) } I did not find a method to free or clean the object.
Download (untitled) / with headers
text/plain 342b
Completely unable to reproduce this issue - the test suite repeatedly uses the same object to process several strings. I have added an explicit test to the test suite for this:- https://github.com/nigelm/html-scrubber/blob/master/t/rt79044_multiple.t Closing as rejected. Please provide a failing test case should you disagree with this.


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.