Getopt::Long long options are case-insensitive

TL;DR

Getopt::Long is case-insensitive when acception options

Which is something that surprised me a bit, although it’s in the documentation (emphasys added by me):

When configured for bundling, single-character options are matched case sensitive while long options are matched case insensitive.

I’m not sure why the choice, but it seems that it’s there and there’s nothing to do about it.

This allowed me to discover that I had a bug in teepee up to a few days ago, when I realized the error and corrected it. I never really hit it because I use short options when I need it.

And yes, this is my public shaming for not testing my stuff properly/thoroughly.

Stay safe!


Comments? Octodon, , GitHub, Reddit, or drop me a line!