Subject: | Bug in TMDB or YAML ??? |
Date: | Wed, 7 Sep 2011 00:52:08 +0200 |
To: | bug-tmdb [...] rt.cpan.org |
From: | "nephilim1973 [...] hotmail.de" <nephilim1973 [...] hotmail.de> |
Hi Mithun...
Please take a look at my information, using your TMDB module:
With this litte code
========================
#!/usr/bin/perl
use strict;
use warnings;
use TMDB; # Install with "sudo cpan" and "install TMDB"
my $tmdb = TMDB->new( { api_key => 'MyPrivateAPIKey' } );
print $tmdb;
my @results = $tmdb->search->movie('Memento');
========================
I got an error message like this one:
--------------------------
YAML Error: Invalid element in map
Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
Line: 20
Document: 1
at /usr/local/share/perl/5.10.1/YAML.pm line 36
TMDB=HASH(0x875ede0)
--------------------------
The hash was printed out AFTER the error message, but I think, that the
error comes from the line
my @results = $tmdb->search->movie('Memento');
Would you be so kind to check your module for me ??
Best regards
Bjoern