Bug#524739: libaudio-file-perl: Either man page is wrong about audio_properties methods, or there's a bug
Reuben Thomas
rrt at femur.dyndns.org
Sun Apr 19 14:56:27 UTC 2009
Package: libaudio-file-perl
Version: 0.11-1.1
Severity: normal
The man page in the second paragraph of the synopsis mentions methods like this:
print "The ". $file->type() ."-file ". $file->name
." is ". int $file->length() ." seconds long.\n";
but they don't work for me, at least when the file is an MP3 file.
However, they are accessible via the audio_properties sub-object; for
example, where the man page has $file->length() I can get the desired
result by writing $file->audio_properties->length(). From looking at the
code, this seems what is intended, but I'm not sure which is right, the
code or the documentation.
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libaudio-file-perl depends on:
ii libaudio-flac-header-perl 2.2-2 Perl interface to FLAC file header
ii libmp3-info-perl 1.23-1 Perl MP3::Info - Manipulate / fetc
ii libmp3-tag-perl 0.9710-1 Module for reading tags of MP3 aud
ii libogg-vorbis-header-pureperl 0.07-2.1 A pure Perl interface to Ogg Vorbi
ii perl 5.10.0-19 Larry Wall's Practical Extraction
libaudio-file-perl recommends no packages.
libaudio-file-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list