On Fri, 13 Jan 2006 00:58:39 +0800 "LUKE" <[EMAIL PROTECTED]> wrote:
> opendir( DIR, "/path" ); > my @dots = grep(/recovery/,sort { -M $a <=> -M $b } readdir(DIR)); > closedir(DIR); > > Can not work in mod_perl?? How to solve it?? > What error do you receive? Most likely the reason it is not working is that the user Apache is running as ( i.e. nobody, apache, etc. ) do not have permission to open and/or read the files in /path. --------------------------------- Frank Wiles <[EMAIL PROTECTED]> http://www.wiles.org ---------------------------------