in reply to Generating Delay

You might just need to flush or close (which does an implicit flush) the file handle used in edman().
sub flush { my $h = select($_[0]); my $af=$|; $|=1; $|=$af; select($h); }

Replies are listed 'Best First'.
Re^2: Generating Delay
by gzayzay (Sexton) on Mar 16, 2006 at 18:43 UTC
    You are right, I only needed to close the file handler i used. I didn't close it by mistake. It works just fine. there is no need for the timer anymore.

    Thanks to all Monks for their assistance.

    Edman