[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] 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/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.