I'm only starting to use CPAN modules and already over my head.

I installed Bundle::Music::Tag and it seemed to go OK.
But when I try a variation on the module's example program:

#!/usr/bin/perl
       use Music::Tag;
        my $filename = "tune.mp3";
        my $info = Music::Tag->new($filename, { quiet => 1 }, "MP3");
        $info->get_info();
        print "Artist is ", $info->artist;

I get this error:

Music::Tag:  Invalid method: get_info called at try.pl line 5


I get an identical error when I substitute "OGG" and "tune.ogg".
I've grep'd every perl library on the system and can't find any get_info.  
I guess I missed something basic but don't know what.  Any suggestions?

thanks,
steve

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to