in reply to Outputing Colour to Screen

There is nothing to know about filehandles, just put a, after $colour in your code. Since $colour is a string and not a filehandle.
foreach $num (0 .. 9) { foreach $colour (BLACK, RED, GREEN, YELLOW, BLUE , MAGENTA) { print $colour, "$num ", RESET; } } print "\n";
Boris

Replies are listed 'Best First'.
Re^2: Outputing Colour to Screen
by EchoAngel (Pilgrim) on Oct 22, 2004 at 15:47 UTC
    thanks! it works