logo       
Google Custom Search
    AddThis Social Bookmark Button

Print without a return from a runmode: msg#00011

Subject: Print without a return from a runmode
Hi,


I want to make a progress bar showing time expired and using $|=1 for this 
statement. 


my $approved = $processcard->PostCard($formdata);

So I have two problems, is there a way to treat this statement as if I was 
polling something and do a print to stdout on a regular interval, and can I do 
the print in the first place from within a runmode?


What I want to end up with is something that works like this,

print "PROCESSING<font size=22>";

until exists($approved){

        print " . ";
        sleep 1;
}


What I am a little afraid of is that I won't be able to do this at all because 
what I am really wanting ends up having to be a multi threaded application. 


Thanks,

Eric 





Lead Programmer
D.M. Contact Management
250.383.0836 ext 229 


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@xxxxxxxxxxxxxxxxx/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>