Re: how to delay printing without over working perl

2009-02-11 Thread itshardtogetone
- Original Message - From: "Chas. Owens" To: "itshardtogetone" Cc: beginners@perl.org If you absolutely must avoid outputting data until after the loops are finished, you should probably write your output to a file and then display the file after the loop. Yes, for sequential reasons,

Re: how to delay printing without over working perl

2009-02-10 Thread Chas. Owens
On Mon, Feb 9, 2009 at 18:39, itshardtogetone wrote: > Hi, > Looking at the script below, I wish to print out "line 1" first, which is > after the while loop, then followed by "First loop", and then "Second loop", > henceforth I have the script below. What I did was to hold on the printing of >

Re: how to delay printing without over working perl

2009-02-10 Thread David Shere
On Tue, 2009-02-10 at 07:39 +0800, itshardtogetone wrote: > I then wonder are there any other better ways for me to do this. If you need a delay in your code, use the sleep command: sleep 5; # five second delay -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands