Skip Menu |

This queue is for tickets about the TVDB-API CPAN distribution.

Report information
The Basics
Id: 50167
Status: new
Priority: 0/
Queue: TVDB-API

People
Owner: Nobody in particular
Requestors: tvdb.x.mh2 [...] xoxy.net
Cc:
AdminCc:

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



Subject: Mangled banner under Windows
Date: Fri, 02 Oct 2009 15:25:05 +0200
To: bug-tvdb-api [...] rt.cpan.org
From: tvdb.x.mh2 [...] xoxy.net
Hello, banners downloaded with getbanner() are mangled under Windows. Adding a binmode()-call after opening the GFX-filehandle fixes that. open(GFX, "> $filename") || die "$filename:$!"; binmode(GFX); print GFX $$gfx; Furthermore the example is missing the constructor-call: my $tvdb = TVDB::API::new('?????','en'); This may have been removed on purpose, due to the necessity of specifying an API key. But it should at least be mentioned... Regards, myce -- Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02