is the path you are using really absolute else see my mail from before
mp2 does not change to your document-root.

Tom

LUKE wrote:
> The result is not sort by file's mtime!
> But if i run the code in cgi or shell. It is sort by file's mtime.
> 
> ----- Original Message ----- 
> From: "LUKE" <[EMAIL PROTECTED]>
> To: <modperl@perl.apache.org>
> Sent: Friday, January 13, 2006 12:58 AM
> Subject: -M in modperl
> 
> 
> 
>>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??
>>
> 
> 
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to