I don't understand the map syntax used in your code example.
I know you marked this as untested, but thought I would ask for clarification
in case this was not a typo of some sort and I was missing something.
Does the "map +( )" syntax have a special purpose? I was unable to get the code to work as is,
and I had to modify my version a bit to get it to work.
my %info = map { $_ => $buffer =~ /$_=([^=]+)/i } qw(artist title albu +m genre comment);
In reply to Re: Re: OGG Vorbis tag parsing in pure perl
by Wonko the sane
in thread OGG Vorbis tag parsing in pure perl
by skx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |