Cygwin Perl bug -- pod2usage(-verbose => 0) & pod2usage(-verbose => 1)

David Christensen dpchrist@holgerdanske.com
Mon Jan 17 08:48:00 GMT 2005


Cygwin:

Perl Pod::Usage pod2usage(-verbose => 0) is supposed to display the Pod SYNOPSIS
information (ref. 'perdoc Pod::Usage').  See attached script 'test0'.  On Debian
3.0r2, it works:

    <CVSENV>dpchrist@p166d302:~/cygwin-issues/Pod-Usage$ perl test0
    Usage:
        This is the synopsis...

On Cygwin, it exits without displaying anything.


pod2usage(-verbose => 1) is supposed to display the Pod SYNOPSIS, OPTIONS,
ARGUMENTS, and/or OPTIONS AND ARGUMENTS sections.  See attached script 'test1'.
On Debian, it works:

    <CVSENV>dpchrist@p166d302:~/cygwin-issues/Pod-Usage$ perl test1
    Usage:
        This is the synopsis...

    Options:
        Here are the options...

On Cygwin, it exits without displaying anything.


pod2usage(-verbose => 2) is supposed to display the entire Pod documentation.
See attached script 'test2'.  It works on both Debian and Cygwin.


Checking the mailing list archive, I see one report but no resolution:

	http://sources.redhat.com/ml/cygwin/2002-01/msg01392.html


Google didn't seem to have much on this either.


David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 25557 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050117/f20e2110/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2
Type: application/octet-stream
Size: 258 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050117/f20e2110/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test0
Type: application/octet-stream
Size: 258 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050117/f20e2110/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test1
Type: application/octet-stream
Size: 259 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050117/f20e2110/attachment-0003.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list