Package: libapache2-mod-perl2
Version: 2.0.2-2.4
Severity: normal

1. The read_data function only reads a single line. This is usually not 
what you want. Instead, I suggest:

sub read_from_pipe {
    my($fh) = @_;
    my $data = '';
    while (1) {
      if (PERLIO_IS_ENABLED || IO::Select->new($fh)->can_read(10)) {
        my $l = <$fh>;
        last if !defined $l;
        $data .= $l;
      }
    }
    $data;
}

2. There is no mention of wait in the man page. On unix, at least, I
believe it is necessary to call wait to avoid creating zombie
processes. Please correct me if I am wrong.

Thanks.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.1-b3 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libapache2-mod-perl2 depends on:
ii  apache2. 2.2.3-4                         Next generation, scalable, extenda
ii  libapr1  1.2.7-8.2                       The Apache Portable Runtime Librar
ii  libaprut 1.2.7+dfsg-2+b1                 The Apache Portable Runtime Utilit
ii  libc6    2.5-9+b1                        GNU C Library: Shared libraries
ii  libdevel 2.03-3                          Perl module for inspecting perl's 
ii  libperl5 5.8.8-7                         Shared Perl library
ii  liburi-p 1.35-2                          Manipulates and accesses URI strin
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-2 universally unique id library
ii  libwww-p 5.805-1                         WWW client/server library for Perl
ii  netbase  4.29                            Basic TCP/IP networking system
ii  perl [li 5.8.8-7                         Larry Wall's Practical Extraction 
ii  perl-bas 5.8.8-7                         The Pathologically Eclectic Rubbis

libapache2-mod-perl2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to