Hello Matthew, all ...

On Tue, Mar 24, 2026 at 12:37 PM Matthew Patton <[email protected]> wrote:

> Argv is an array. Doesn't seem like you process more than the first arg.
>
> Seems like you could have written this in bash with a line or two of awk
> and done in 10 lines or less.


There is definitely room for improvement in this script; allowing multiple
arguments would be one of the first things to work on.

Ironically, given your comment, I started this as a bash script ;-).  I
then decided that for collecting information on installed Perl modules,
perl was the right tool. What you say about implementing the program in
bash and awk may be true, but consider that I needed to eval a "require" of
a package in the Perl script, and finding a way to duplicate that
functionality without using Perl would be somewhat difficult.

Thank you for your observations.
-- 
Soren
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

Reply via email to