An offering to the Perl enthusiasts among us
Soren
somian08@gmail.com
Fri Mar 27 17:01:39 GMT 2026
Hello Matthew, all ...
On Tue, Mar 24, 2026 at 12:37 PM Matthew Patton <pattonme@yahoo.com> 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.
More information about the Cygwin
mailing list