Thank you for your help!
I'm terribly sorry for getting your time, It's my fault.
There was an error in my code.
I'm inattentive foolish man.
But I've known new methods of reading directory listening.
Best regards.
___
Sorry for my English.
RK> But this doesn't seem to be the problem ... What's printed in the
RK> browser? Is there anything in the error logs? Is the name of the
RK> directory to be read input from the user (if so, are you running
RK> under taint mode?), and are the permissions appropriate?
Here is my module's code...
us
On Sun, 27 Oct 2002, Ruslan U. Zakirov wrote:
> I'm writing handler which generate some html from files in requested
> dir if requested file does not exist.
> I have a problem with getting file list of the directory.
> I've tried to use IO::Dir, like this
>my @htmls;
>my $dh = new IO::Dir
PROTECTED]>
> Data : Sun, 27 Oct 2002 15:59:53 -0300
> Assunto : Re: Get file list of the dir.
>
> you can use opendir, like this:
>
> opendir($refdir, "/home/user") or
> die "Err in opendir($refdir,/home/user) : $!";
> my $filedir;
> wh
filedir");
}
closedir($refdir);
I don't know if this resolve your problem.
bye
> -- Mensagem original ---
>
> De : "Ruslan U. Zakirov" <[EMAIL PROTECTED]>
> Para: [EMAIL PROTECTED]
> Cc :
> Data : Sun, 27 Oct 2002
I'm writing handler which generate some html from files in requested
dir if requested file does not exist.
I have a problem with getting file list of the directory.
I've tried to use IO::Dir, like this
my @htmls;
my $dh = new IO::Dir ($req_dir);
if (defined $dh)
{
while (defined($_