thanks for the quick reply.... so are you saying the script should look like this ?
my $new_sock = $sock->accept(); open my $fh, '>>', $file or die $!; while(<$new_sock>) { print <$fh>; #######close $fh; }
Is this what you mean?
thanks, steve
In reply to Re^2: script to listen on a port & redirect to a file
by a31modela
in thread script to listen on a port & redirect to a file
by a31modela
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |