> 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) { > printf "%s => %s\n", $MP3::Info::v2_tag_names{$_}, > $tag->{$_}; > } > Hey, thanks guys. a few quick questions though? What is that %$tag in teh keys function? ive never seen two variable types like that before. and with that for statement, is it like a foreach statement? like for variable in the tag hash, its printing it with the $_ variable? it hink ive got it. seems like this was a pretty good module to sharpen my teeth with. really appreciate the help guys ! thanks again _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs