Re: Get file list of the dir.

2002-10-28 Thread Ruslan U. Zakirov
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.

Re: Get file list of the dir.

2002-10-28 Thread Ruslan U. Zakirov
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

Re: Get file list of the dir.

2002-10-27 Thread Randy Kobes
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

Re: Get file list of the dir.

2002-10-27 Thread masilva3
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

Re: Get file list of the dir.

2002-10-27 Thread masilva3
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

Get file list of the dir.

2002-10-27 Thread Ruslan U. Zakirov
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($_