Re: How to get a file listing

Alan Young <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Thu, Feb 18, 2010 at 13:20, ceauke <[email protected]> wrote:
> So my structure is like this:
> \cgi-bin\myprog.cgi   <---- my program
> \cgi-bin\mydir1\   <----- this one can be seen by my program
> \mydir2\    <----- how do I show this content?

opendir my $DH, '\mydir2\' or die "Unable to open mydir2: $!";

The rest as before.
--
Alan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.