in reply to Simultaneously reading from a file and serving data
I'm no expert but: can't you just use a fork? I haven't used it for a while but IIRC it's actually not very hard to use and there are several nice examples in perlipc.
Something like:
if (my $pid = fork()) { # network stuff } else { # file stuff }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Simultaneously reading from a file and serving data
by wazoox (Prior) on Feb 27, 2014 at 19:50 UTC | |
by grondilu (Friar) on Feb 28, 2014 at 19:31 UTC |
In Section
Seekers of Perl Wisdom