Skip Menu |
 

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

Report information
The Basics
Id: 21303
Status: resolved
Priority: 0/
Queue: Pod-XML

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

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



Subject: pod2xml should print diagnostics to STDERR
Download (untitled) / with headers
text/plain 472b
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
Download (untitled) / with headers
text/plain 641b
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.
Download (untitled) / with headers
text/plain 309b
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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