in reply to Re^2: diagnostics pragma throwing a compile-time error in Cygwin-Perl
in thread diagnostics pragma throwing a compile-time error in Cygwin-Perl

I meant finding it outside the @INC. Using find / or locate (not sure whether it exists on cygwin, though).

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^4: diagnostics pragma throwing a compile-time error in Cygwin-Perl
by Intrepid (Curate) on Apr 16, 2025 at 17:31 UTC

    choroba said:

    I meant finding it outside the @INC. Using find / or locate (not sure whether it exists on cygwin, though).

    Oh, ok. Sure, if it was in @INC we should not be seeing the error. It is not there on my system under any path. Possibly a packaging error by someone in the cygwin project? BTW, cygwin does have locate.

    On my Gnu/Linux box it is located at /usr/local/lib/perl5/5.40.0/pod/perldiag.pod (and at /usr/share/perl/5.28.1/pod/perldiag.pod).

    Apr 16, 2025 at 17:28 UTC
      Wait, doesn't cygwin have a separate package for Perl documentation?

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
        choroba asked yesterday:
        Wait, doesn't cygwin have a separate package for Perl documentation?
        

        No, I don't think so (and I checked, using the `cygcheck' tool). It has perl-Pod-Perldoc shown below. Maybe you are thinking of many Gnu/Linux distros, where there is a separate Perl documentation package.

        $ cygcheck -i perl-Pod-Perldoc
        Installed package:
        ------------------
        
        Name        : perl-Pod-Perldoc
        Version     : 3.28
        Release     : 4
        Architecture: noarch
        Install Date: Tue Sep 03 16:32:09 2024
        Size        : 65829 (64 K)
        Categories  : Perl
        Source      : perl-Pod-Perldoc-3.28-4-src.tar.zst
        Summary     : Perl distribution Pod-Perldoc
        Description :
        Perl distribution Pod-Perldoc, providing Perl modules:
        Pod::Perldoc Pod::Perldoc::BaseTo Pod::Perldoc::GetOptsOO
        Pod::Perldoc::ToANSI Pod::Perldoc::ToChecker Pod::Perldoc::ToMan
        Pod::Perldoc::ToNroff Pod::Perldoc::ToPod Pod::Perldoc::ToRtf
        Pod::Perldoc::ToTerm Pod::Perldoc::ToText Pod::Perldoc::ToTk
        Pod::Perldoc::ToXml.
        
        Apr 17, 2025 at 17:19 UTC