in reply to Re^2: 'rgb_palette' - Term::ANSIColor Helper
in thread 'rgb_palette' - Term::ANSIColor Helper

Hello and thanks kcott,

on strawberry 5.26 I have modified your program first lines as..

use strict; use warnings; use feature qw (say signatures); no warnings qw(experimental::signatures); # use Win32::Console::ANSI; # nothing change if loaded or not

but I still receive the error Invalid attribute name r0g0b0 at line 23. which is the line

print colored(text("r${r}g${g}b${b}"), join(' on_', fg($r, $g, $b), "r${r}g${g}b${b}"));

I also changed the TERM env var from dumb to not dumb (used to work) but still receiving the same error.


There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.