[Chicago-talk] Do I need a fork for this?
imranjj at gmail.com
Fri Jan 9 09:50:37 PST 2009
On Fri, Jan 9, 2009 at 11:13 AM, Richard Reina
<richard at rushlogistics.com> wrote:
> I am trying to spin off a process (subroutine actually) so that my program and will go on to do other things ( namely ask the user from some input ) while the the subroutine is doing it's work.
> Something like:
> # this sub is going to take a few minutes
> my ($results) = list_compiler($id);
> # this is where we get hung up waiting for the above sub to finish.
> # Sure would be nice to be able to get some info from the user while we
> # are waiting. Like:
> print "While I am compiling this list for you, can you tell me how many people are working in the office today?\n";
> Can someone tell me how I can go about doing this?
> Chicago-talk mailing list
> Chicago-talk at pm.org
More information about the Chicago-talk