Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: 'rgb_palette' - Term::ANSIColor Helper -- errors on strawberry

by kcott (Archbishop)
on Aug 16, 2022 at 15:02 UTC ( [id://11146169]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -E 'use Term::ANSIColor; use Data::Dump; my $x = colored("black
    + on white", "rgb000 on_white"); say $x; dd $x'
    black on white
    ...
    
    $ perl -E 'say "\e[38;5;16;47mblack on white\e[0m"'
    black on white
    
  2. or download this
    $ perl -E 'use Term::ANSIColor; use Data::Dump; my $x = colored("black
    + on white", "black on_white"); say $x; dd $x'
    black on white
    ...
    
    $ perl -E 'say "\e[30;47mblack on white\e[0m"'
    black on white
    
  3. or download this
    $ perl -E 'use Term::ANSIColor; say colored("red text", "red on_white"
    +)'
    red text
    
    $ perl -E 'use Term::ANSIColor; say colored("red text", "bright_red on
    +_white")'
    red text
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11146169]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-23 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found