This queue is for tickets about the Pod-XML CPAN distribution.

Report information
The Basics
Id:
21303
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
SREZIC [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
0.96
Fixed in:
(no value)



Subject: pod2xml should print diagnostics to STDERR
The first line of pod2xml output is information about the module and version. Unfortunately this is printed to STDOUT, so it is not possible to use pod2xml with STDIN and STDOUT redirection --- the diagnostics output would garble the XML output. A better solution would be to send the diagnostic output to STDERR. However, a far better solution to not print any extra output, but just leave the information to some option switch like -v or -version. Regards, Slaven
From: matt@mattsscripts.co.uk
On Sun Sep 03 14:41:42 2006, SREZIC wrote:
Show quoted text
> The first line of pod2xml output is information about the module and > version. Unfortunately this is printed to STDOUT, so it is not > possible to use pod2xml with STDIN and STDOUT redirection --- the > diagnostics output would garble the XML output. > > A better solution would be to send the diagnostic output to STDERR. > However, a far better solution to not print any extra output, but just > leave the information to some option switch like -v or -version. > > Regards, > Slaven
Absolutely correct. I think this was the result of a debug string mis-placed. Removed for next release.
Index: scripts/pod2xml =================================================================== --- scripts/pod2xml (revision 20) +++ scripts/pod2xml (revision 21) @@ -25,8 +25,6 @@ use Pod::XML; -print "Using Pod::XML version $Pod::XML::VERSION.\n"; - my $parser = Pod::XML->new (); if ( @ARGV )


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.