blackadder has asked for the wisdom of the Perl Monks concerning the following question:
The blink doesn't seem to work, not sure if this is how it should be coded, there were no examples in the module documentation on how to set the blinking.#!c:/perl/bin/perl.exe -w use strict; use vars qw/%data/; use Win32; use Win32::Console::ANSI; use Term::ANSIColor; $data{colors} = { 1 => 'bold blue', 2 => 'bold blink yellow', 3 => 'blink red', 4 => 'blink white', 5 => 'blink green', 6 => 'blink cyan', 7 => 'rapid blink magenta', 8 => 'blink grey', }; print "\n"; for (1..100) { print colored ("*",$data{colors}{(rand(100)%6)+1}); } print "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Blinking Win32::Console::ANSI
by simon.proctor (Vicar) on Oct 08, 2004 at 11:33 UTC | |
by blackadder (Hermit) on Oct 08, 2004 at 13:03 UTC | |
|
Re: Blinking Win32::Console::ANSI
by Albannach (Monsignor) on Oct 08, 2004 at 14:07 UTC | |
by Anonymous Monk on Oct 08, 2004 at 21:24 UTC |