in reply to inetd server problem
$/ = undef;
in top of the script. It will slurp the input.
-- Tatsuhiko Miyagawa miyagawa@cpan.org