> You're getting the right think back. The docs say get_mp3tag returns
a
> hash reference, to get to the tag try (see perldoc MP3::Info and look
> for get_mp3tag):
>
> my $tag = get_mp3tag('mysong.mp3', 2, 1); # ID3v2, raw ID3v2
> tags
> for (keys %$tag) {
> pr
Hey guys. im having a little problem with a script im writing:
#!/usr/bin/perl -w
use MP3::Info;
use strict;
print "what file are we going for?\n";
my $file = ;
chomp $file;
my $tag = get_mp3tag($file) || die "No Tag Info\n";
print $tag;
ive looked through the module, im using all of the right
merrill: $! isnt printing out anything extra, if i request
"/home/Twist/radiohead.mp3", for instance, i get, i get "couldnt give
tag: at ./trialscript line 8" think it could be a matter of the full
filepath? just not sure if im missing a common module convention or
something
thanks again
hey guys. its me again with the same script:
#!/usr/bin/perl -w
use lib "/usr/lib/perl5/site_perl/5.6.0/MP3/";
use MP3::Info;
print "What is the full name of the file you want to check up on?\n";
$file = ;
chomp $file;
@tag = get_mp3tag($file) || die "couldnt give tag: $!";
print $tag;
but no d
thanks merrill, problems gone. one overlooked "p", huh? ; )
thanks again for your help !
___
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
i just checked, MP3::Info is in /usr/lib/perl5/site_perl/5.0.6/MP3
any idea whats going on?
thanks again
___
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Merrill,
i did go through the steps of installing the module, but running i cant
find it with either 'find' or 'locate'. ill look into it now.
thanks for taking an interest guys
___
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://l