Firstly, I'm glad this finally worked for you.
"the following version is also agnostic about the perl version"
Leaving out a "use VERSION;" statement does not achieve this; nor does adding a "use feature LIST;" statement.
Your code will have problems with older Perl versions. Here's a non-exhaustive list:
— Ken
In reply to Re^7: 'rgb_palette' - Term::ANSIColor Helper -- errors on strawberry
by kcott
in thread 'rgb_palette' - Term::ANSIColor Helper
by kcott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |