this is cheating! I've loosed an hour trying all possible combinations and reading obfuscated docs..
from where this dotted syntax come from? Are the very same constants exported by :constants of Term::ANSIColor ?
PS after the belowAnonymous Monks's explanation (++ for the hint) I searched a bit and I found here1 Bold/Bright Applies brightness/intensity flag to foreground color so it seems that for them are synonymouses...
> Note that not all displays are ISO 6429-compliant, or even X3.64-compliant (or are even attempting to be so). This module will not work as expected on displays that do not honor these escape sequences, such as cmd.exe ..
This may explains why :constants exports unuseful stuffs when on windows: perhaps Win32::Console::ANSI needs some mention in it's docs..
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.
Dotted syntax is just string concatenation. I'd even say my $BRIGHT_SUCCESS = $^O eq 'MSWin32' ? BOLD.GREEN : BRIGHT_GREEN; and use Term::ANSIColor qw/:constants/; unconditionally. Can see no need in OP's coding escape sequences manually. Short answer, above, because I "always" knew it's bold to be used to get bright, on Windows, and don't remember/lazy to search for sources.