or download this
#!/usr/bin/perl -w
use strict;use threads;use Time::HiRes('sleep');
...
my (%d);foreach (@j){$d{$_}=threads->create('x',$_);}foreach (@j){my
$x=$d{$_}->join();}sub x{my $i=shift;my $t;while($t=substr($i,-1,1)){
print $t;chop($i);sleep(.1);}return($_);}