This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: cygcheck.out
Description: Binary data

Attachment: test2
Description: Binary data

Attachment: test0
Description: Binary data

Attachment: test1
Description: Binary data

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]