Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 55775
Status: resolved
Priority: 0/
Queue: HTML-Restrict

People
Owner: Nobody in particular
Requestors: duncan [...] wcn.co.uk
Cc:
AdminCc:

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



Subject: Strings equating to boolean false returned as undef
Hi, HTML::Restrict 0.05 seems to return undef when passed strings which equate to boolean false. e.g. my $string = '0'; my $hr = HTML::Restrict->new(); $string = $hr->process($string); ## $string is now undefined Thanks, Duncan
On Mon Mar 22 06:30:13 2010, DuncanForsyth wrote: Show quoted text
> Hi, > > HTML::Restrict 0.05 seems to return undef when passed strings which > equate to boolean false. > > e.g. > > my $string = '0'; > my $hr = HTML::Restrict->new(); > $string = $hr->process($string); > ## $string is now undefined > > Thanks, > > > Duncan
Hi Duncan, Good catch! This has now been fixed in 0.06, which is now on its way to the CPAN. Thanks very much for opening the ticket. Olaf