|Welcome to the Monastery|
Re^4: 'rgb_palette' - Term::ANSIColor Helper -- errors on strawberryby kcott (Archbishop)
|on Aug 16, 2022 at 14:15 UTC ( #11146167=note: print w/replies, xml )||Need Help??|
Unfortunately, it looks like you don't have a true color terminal. See "Term::ANSIColor - Supported Colors" for more about that.
I got similar errors to what you're seeing when making a typo while developing and testing. This sort of thing:
However, there's no typo that I can see in what you've posted. You could do a couple of tests outside of my script.
Both of those give me the text "black on white" in black on a white background.
I don't have a Perl on an MSWin platform to test. I don't know about dumb and not dumb TERM values. For what it's worth:
Sorry I can't be of more help. Is there anything in AM's post that's useful for you?
Edit (stupid typo fix): s/white foreground/white background/.
In Section Cool Uses for Perl