It's a hash ref.

RTFM.  The perlref page specifically.

Captain Howdey wrote:
> 
> > 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
begin:vcard 
n:Bell;Bayard
tel;cell:646-734-2662
tel;fax:212-762-1009
x-mozilla-html:FALSE
org:Morgan Stanley;Distributed Systems Integation for Institutional Security Enterprise Infrastructure
version:2.1
email;internet:[EMAIL PROTECTED]
title:Unix Dork
adr;quoted-printable:;;750 Seventh Avenue=0D=0A9th Floor;New York;NY;10019;
fn:Bayard Bell
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to