markh has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use IO::Socket; use strict; #sock is my connection where I report what is going on my $sock = IO::Socket::INET->new(PeerAddr => 'hostname.org', PeerPort => '1234', Proto => 'tcp' ); my $return_value = long_running_function(); print $sock "$return_value\n"; close $sock;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to break up a long running process
by madbombX (Hermit) on Oct 25, 2006 at 01:24 UTC | |
|
Re: How to break up a long running process
by BrowserUk (Patriarch) on Oct 25, 2006 at 00:48 UTC | |
|
Re: How to break up a long running process
by GrandFather (Saint) on Oct 25, 2006 at 00:15 UTC | |
by BrowserUk (Patriarch) on Oct 25, 2006 at 08:19 UTC | |
|
Re: How to break up a long running process
by ailivac (Sexton) on Oct 25, 2006 at 00:54 UTC | |
|
Re: How to break up a long running process
by markh (Scribe) on Oct 26, 2006 at 01:00 UTC |