Skip Menu |
 

This queue is for tickets about the URI-Title CPAN distribution.

Report information
The Basics
Id: 55235
Status: resolved
Priority: 0/
Queue: URI-Title

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: warnings on png image
Date: Fri, 05 Mar 2010 07:21:59 +1100
To: bug-URI-Title [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
Download (untitled) / with headers
text/plain 535b
With URI::Title 1.82 and recent debian i386 perl 5.10.1 the program foo.pl below prints Use of uninitialized value $found_title in substitution (s///) at /usr/share/perl5/URI/Title/HTML.pm line 85. Use of uninitialized value $found_title in substitution (s///) at /usr/share/perl5/URI/Title/HTML.pm line 86. where I hoped for something about that image. Nosing around it seems File::Type says "image/x-png" instead of "image/png". Dunno if that's a bug or a feature, but it seems to mean URI::Title::Image is not applied.
Download foo.pl
text/x-perl 109b
use strict; use warnings; use URI::Title 'title'; print title('http://www.perl.org/i/camel_head.png'),"\n";


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.