Subject: | Docs have wrong example for ID3v2 tag reading |
In the MP3::Tag::ID3v2 docs, the section called:
* Reading a tag, very low-level:
There is a line that says:
my ($name, @info) = $id3v2->get_frame($frame);
However, according to your own docs further down, this is the wrong
subroutine to report those variables. It should be get_frames, with the s:
($name, @info) = get_frames($ID);
($name, @info) = get_frames($ID, 'raw');
Same as get_frame() with different order of the returned values. $name
and elements of the array @info have the same semantic as for
get_frame(); each frame with id $ID produces one elements of array @info.