DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 62RHxS323527874 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 62RHxS323527874 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=sJHGsfRZ X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 654334BA23FC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1774634366; bh=ilGUN8dVV2OB8OgXsYQawhZuTYQBrkMq9pm2/WegNvc=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=sJHGsfRZpqaR2QF83BgPViRg9ypvNSbmH3pR8teynzPZ2W3xxhoaz1sLazYKN6DqE LSO4b4vtWhilU2yStjxTgM75uqgSLgtYMZXSCX0Qv0i+Q86fUdMB4rl6S6QcefTJlm riBeprOmhTvi7JVXlq6Xt3c6eMjndA1k85edDZNk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7A16D4BA2E0A ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7A16D4BA2E0A ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1774634346; cv=pass; b=Znf8ykQbDwslARrxMSTThpc34YHIDLubn6Jk9eoA0Un9YnkgeEAod7ffSuwGeiL2rZQ1lc6yCcMN02n6aDCX+W3oO4UXIFFKUh5Yn8uSL6FN2dvCsUBP0ZlXW7pbfQOcUVggMuXPlAmqaBiIwmwsczEPkq440LThwy2BT7vDGOk= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1774634346; c=relaxed/simple; bh=0L9w50IfAzVdRPr0yIxvrY+JxdUVj2tlXOyZJgody/E=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=PsatxetrRcSyqHONm3LvbMiQH1hMrxf8v0xOETHYbh3zhOoYX/7DpY3GwbnJrAuqDEEgMyvXlbZAWnbSB3xaCEwl74pE0GNFkZ0xXX/7vXSj/2K+XXKa3mFnDfR+RZcBPcoYH13EuowEZG6QzMwR64WHo0N3iDp3d1G2IEXzlus= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A16D4BA2E0A ARC-Seal: i=1; a=rsa-sha256; t=1774634345; cv=none; d=google.com; s=arc-20240605; b=i+koRbDR4ksvKkSrrN2ELC8q/laAyOmCv0Z2+IgssnGpfQrZytXfJsvb38PAUmfx7G rI/dJXJshfJ6YlqPhXl9LdPEt7cehTrlE9687/IvtBjjn71YL22pVsxSyodx83TsqByo MeAvRUJXiTbpUpTIQUQMZC4CX9sEr4O+14Te4XF29DPtOeGXR5xO/febqJxPDlyjQZYY /uflAUVRmvYfxHt8z35wgYaGT5bh9LTs1wUurJ1KQowKTOVJpKtAe4js2fvBE6qM2+Kb 8j3QpKDepHFvEM2ZLzkksPJE3jdsYFhCo5cJRGN4CkYsZpFdSWOdueu0Upm8xFCN70/5 nbwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=iCKg5soMgw6BGrkuu7poHHpF9zKub62x5otpqxu1VAA=; fh=D/3BNT58P1HfaO0UClCwPcXZo+M+0Moae7Ft4t+NUfE=; b=Kb+i3nvlfWuPQKg9D6okXQi9WgQJLjxR8uMokbNJB0MNUYhr454/b4uKpVJSpbngwl h+vBumQWaA7neJp6Nc+rAdHbCu6cAnOhT2kMXi+m46Bitf3r1lZA0R1AxlSbhws/XAOf JrQg8pO4mqqj1Nf7Vru7k65Lxe8FrK+PIQYq+PgNtT1ljxVo/7tFaoS9AxKLtzuJTK0h S+LmZ/amqRN1EY0YtivfHpBPYdsT2pDao9wMUyloUet4ar2ONfk4yLb2vU+pMgjIHee+ qPME7WQF5rhqc/0XMEdsFl9HEJi2Dnrey7xIpb1ghC/iTtcWHB5RokhpdSJ6FCWQ5s4Z xDkw==; darn=cygwin.com ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774634345; x=1775239145; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iCKg5soMgw6BGrkuu7poHHpF9zKub62x5otpqxu1VAA=; b=EqwQKOGz2kJQLxbNfLM/SgOZjUaHPCG3kstYK/8XtlHTULrhB1wlhYTPE7wrYOVzOx /KitW3c4ddhKhIZ+VQ6Mep/+VJY3ryWF4gmgqHXLV8hL9neZG20rWroaDHYpzQqR3JsS wYcFkCF76V91m4jsH8JwB1KAIaq5MC2aawwhzyM/JZaEeSfTZywHDMg3+INILPQ344MU G0SE+WRMVWx8ULG0V5dFL9vmbIvo5mxJgJAyVEX3BLjHPtlSKhMR6EzZiI6UUGAnrGkM 0hYyYUObvEx82PihUMJkTppxf/8AkK99Iztza0298Ne1ITrJtB7occRuV0UbIv4rSD1v pjXg== X-Forwarded-Encrypted: i=1; AJvYcCVwAj/JImUK9hQDE54j1paBhrsdRDXk9ksYvJ92AJHCXWaBOsBBqbFATsDh9G1cxrixMPRUPpg=@cygwin.com X-Gm-Message-State: AOJu0Yy8Z1mQwp74VCNrnU5w73v0/W71e5czH3ogV3ZS8+fOCVaBxgcD s/edpc7/wBcIBS2YMj6nmkqBJkUmtyrJrpnlH5fVCZ1kq9EngEgU27VWf0E3zWeJjQhssR92hMg cJyXOVkoYjQYEjcz1z+GIxFNSnxiWadA4SNsA X-Gm-Gg: ATEYQzzbI1hzLp3UsvVliWpCs8hfwqjbkYPIxPVOk9mgZlWFUaLwkGum5NaXHbk9fCc 4C+zzXVLVBeOC1FZ/7CseQ2973Syxe5Ql5YlpJMUZv/mjcIJqsepHLg3UsIqBGdasYoh8DiHG05 hq3pKFR4DFeaZUw6j7CcpXCquCK6o/OZxpjWokCo4Vhf3pQe6t9V21tL87az2KP2wFO73zP1QV0 m3C0GDaXWvLuW+hXqUbPtDNTMtYEuzl3irFtlmiubEtJn7c8PlFctj711rK4+KeE4AXz5DXKvLV Emyc X-Received: by 2002:a05:6512:1255:b0:5a2:96a6:ed6 with SMTP id 2adb3069b0e04-5a2ab7e9731mr1362320e87.7.1774634344776; Fri, 27 Mar 2026 10:59:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 27 Mar 2026 13:58:52 -0400 X-Gm-Features: AQROBzDkQA7HtGwR1paPPZ6Lj8uByllWh_ZHPmuARnGnVs3eyLPW3VC8Pbj7RII Message-ID: Subject: Re: cygchk-perl-mods.pl (Was: An offering to the Perl enthusiasts . To: Dr Bean , Soren via Cygwin X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Soren via Cygwin Reply-To: Soren Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 62RHxS323527874 Hello Dr. Bean, all, On Thu, Mar 26, 2026 at 3:17 AM Dr Bean via Cygwin wrote: > On Tue, 24 Mar 2026, Soren via Cygwin wrote: > > > I've written a program in Perl that satisfies a desire I've had for a > > while. I wanted to have a way to check out what Perl module > distributions > > have been made into cygwin packages installable with Setup, but outside > of > > Setup. The main feature of how the program works is the specification of > > "namespace globs" like "IO-*" or "Module-*" used as the argument to my > > script. This allows for surveying a manageable grouping of packages from > > the Cygwin server, in the TMI (terminal, text mode interface, > commandline). > > I think it's best if I just show some representative output rather than > > struggling to explain what I mean: [...] > > I tried running this over a few outer package names in > my system perl and perl environment manager perlbrew > installations to see what was different in both. > Thanks for testing it. I appreciate the interest. You'll not be using the tool as it is intended if you run it on another perl than the system perl (/usr/bin/perl), such as your perlbrew installations. This is because the data is being summoned forth via a query to 'cygcheck', and cygcheck only knows about cygwin-packaged perl modules installed by Setup-x86_64.exe in the vendor_perl tree. > I can see this also being of use in attempts to > stick to tested cygwin perl packages and avoid taking > chances with the 'latest and greatest' from CPAN. > Exactly. Cygwin package maintainers have done the work of ascertaining the compatibility of a given release of a module and the output of my program shows whether perl is going to be using such a verndor-supplied module or instead something living in the site_perl trees. Aside from the convenience of using Setup-86_64 to install Perl packages, the (guaranteed?) vetted status of the vendor package is a good reason to get a distribution from the Cygwin collection. The script doesn't show shadowed (hidden) modules (from > cygwin packages) in vendor_perl (?) if there is one > downloaded from CPAN in /usr/local/share/...? > That's right. The script only shows the one perl would use, and modules installed in these directories always get found first: Here's some more useful representative output than posted in my original message: $ perl ~/Scripts-working/cygchk-perl-mods.pl 'Crypt-*' perl-Crypt-OpenSSL-Bignum Crypt::OpenSSL::Bignum is installed as /usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-threads/Crypt/OpenSSL/Bignum.pm perl-Crypt-OpenSSL-DSA Crypt::OpenSSL::DSA is installed as /usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-threads/Crypt/OpenSSL/DSA.pm perl-Crypt-OpenSSL-EC Crypt::OpenSSL::EC is not installed perl-Crypt-OpenSSL-ECDSA Crypt::OpenSSL::ECDSA is not installed perl-Crypt-OpenSSL-Guess Crypt::OpenSSL::Guess is not installed perl-Crypt-OpenSSL-Random Crypt::OpenSSL::Random is not installed perl-Crypt-OpenSSL-RSA Crypt::OpenSSL::RSA is not installed perl-Crypt-URandom Crypt::URandom is installed as /usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads/Crypt/URandom.pm CPAN modules may also be stored in > /usr/share/perl5/.../site-perl? > These two dirs are always searched first: /usr/local/lib/perl5/site_perl/5.40/x86_64-cygwin-threads /usr/local/share/perl5/site_perl/5.40 > I can see my Module::Build appears to have been installed > from CPAN, but Module::Build::Tiny appears to have come > from a cygwin package. That doesn't seem ideal. But is > it no problem? > Probably not a problem. I can imagine the reason for source differences is a > CPAN module I downloaded wanted a more recent version > than the cygwin package provided. > > But I am grateful that using perl in cygwin is > well-ordered compared with the unavoidability of > virtual environments in python, rendering system python > irrelevant. > ;-) A compare-and-contrast tool like this for python > virtual environments I could see being of use. > > I will keep this around for use figuring out perl > dependency problems when not using perlbrew. > > It is not in a github or other foundry repo? I wanted to test the interest in the program before creating a github repository for it. Your reply constitutes "interest" and I'll make a githib repo for it by the end of this weekend. > -- > Greg "Dr Bean" Matheson If there is one thing we learn from > http://drbean.sdf.org studying learners, it is that > drbean AT freeshell DOT org they learn more than we learn. > > -- Soren 'tino If this message doesn't comply with protocols, policies, or customs of this mailing list, please inform me, and I will endeavor to do better in the future. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple