On Thu, 26 Apr 2001, Mathew Hennessy wrote:

> Hi,
>       I'm also experiencing issues using readdir() under mod_perl
> v1.25/apache 1.3.19 on a perl 5.6.1 system freshly compiled in RH7.1 +
> gcc 2.96/glibc 2.2.  I _can_ get correct behavior when running readdir()
> in perl -e on the command line, but when run thru mod_perl/apache it
> returns null/empty.  It's strange: I keep trying to run finds against
> the  mod_perl and apache source code to detect readdir, and I get hardly
> anything useful..  I wonder where the breakdown is :p
>
>       A temporary workaround is to shell out and do a find -maxdepth 1,
> but that's unworkable for anything beyond my own toy use :p..

use glob() or the diamond operator <*>, the suggested workarounds in the
two threads from the past (see the archives).

Of course this should be resolved.

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Reply via email to