Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Term::ANSIColor - possible to pass color as variable?

by eff_i_g (Curate)
on Apr 13, 2011 at 13:18 UTC ( #899184=note: print w/replies, xml ) Need Help??

in reply to Term::ANSIColor - possible to pass color as variable?

How about this?
use warnings; use strict; use Term::ANSIColor qw(:constants); sub print_debug { print STDERR @_, RESET; } print_debug(BLUE ON_WHITE, 'Test');

Replies are listed 'Best First'.
Re^2: Term::ANSIColor - possible to pass color as variable?
by ultranerds (Friar) on Apr 13, 2011 at 13:31 UTC
    Ah nice - that did the trick - thanks!


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://899184]
[Cosmic37]: there is a FANN discussion group but seems to have gone quiet... http://leenissen. dk/fann/forum/ viewforum.php?f=18 &sid=1afc1fb3fa1a3 7f52b03e40d05cdaaa 3
[corenth]: Where are all the FANN fans?
[Cosmic37]: ok it went quiet because it moved - its actually quite active... https://sourceforg discussion/
[Cosmic37]: Therefore they are on sourceforge
[Cosmic37]: well... maybe not that much...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2018-02-20 18:37 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (274 votes). Check out past polls.