Skip Menu |
 

This queue is for tickets about the Music-Tag CPAN distribution.

Report information
The Basics
Id: 72162
Status: open
Priority: 0/
Queue: Music-Tag

People
Owner: Nobody in particular
Requestors: jwdevel [...] gmail.com
Cc:
AdminCc:

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



Subject: Error trying to create Music::Tag instance
Date: Thu, 3 Nov 2011 21:26:35 -0700
To: bug-Music-Tag [...] rt.cpan.org
From: John W <jwdevel [...] gmail.com>
Download (untitled) / with headers
text/plain 655b
This code fails: use Music::Tag (pbp => 1); my $m = Music::Tag->new("filename"); With this error: Can't locate object method "filename" via package "Music::Tag" at /usr/local/lib/perl5/site_perl/5.14.1/Music/Tag.pm line 73. It is fixed by putting (traditional => 1) in the 'use' statement. Maybe there needs to be some check for 'if($TRADITIONAL_METHODS)...' in the failing function? My system (I doubt it matters): FreeBSD 7.2-RELEASE. I installed Music::Tag directly from cpan, since I didn't find a port for it. (ver 0.4103) I also installed Music::Tag::FLAC (v0.4101) and Music::Tag::MP3 (v0.4101). I am running Perl 5.14.1 -John
I am working on this! There are several issues with PBP methods that a quick test revealed.


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.