Skip Menu |

This queue is for tickets about the MP3-Tag CPAN distribution.

Report information
The Basics
Id: 37442
Status: open
Priority: 0/
Queue: MP3-Tag

People
Owner: Nobody in particular
Requestors: john_binns [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: thg [...] users.sourceforge.net
Subject: minor patch for ID3v2.pm
Date: Sat, 5 Jul 2008 10:34:00 -0700 (PDT)
To: bug-MP3-Tag [...] rt.cpan.org
From: John Binns <john_binns [...] yahoo.com>
Sorry if you get this email twice, this is my first CPAN patch so I'm not an expert in the process yet. In the version of MP3::Tag::ID3v2 which is current on CPAN (0.9710) I found a minor annoyance. Line 1795 emits a warning, which I don't need but might be useful to some. However, the next three lines print to STDOUT instead of STDERR. I had tried to silence these warnings by temporarily unsetting $SIG{__WARN__}, but because they were printed to STDOUT they would not be silenced! The attached patch fixes this problem. John
Download id3v2_print_to_warn_patch
application/octet-stream 397b

Message body not shown because it is not plain text.

CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #37442] minor patch for ID3v2.pm
Date: Sat, 5 Jul 2008 15:04:40 -0700
To: John Binns via RT <bug-MP3-Tag [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Sat, Jul 05, 2008 at 01:34:24PM -0400, John Binns via RT wrote: Show quoted text
> Line 1795 emits a warning, which I don't need but might be useful to some. > > However, the next three lines print to STDOUT instead of STDERR.
Show quoted text
> I had tried to silence these warnings by temporarily unsetting $SIG{__WARN__}, but because they were printed to STDOUT they would not be silenced!
Thanks for pointing this out. >>TODO Show quoted text
> The attached patch fixes this problem.
No it does not. Please see the docs on configuration variables. Hope this helps, Ilya