in reply to Recursive CGI Dirlist

I think perhaps that you should take a look at File::Find as it would make your life a lot easier :)

--
<http://www.dave.org.uk>

"The first rule of Perl club is you don't talk about Perl club."

Replies are listed 'Best First'.
Re: Re: Recursive CGI Dirlist
by Ranna (Acolyte) on Oct 24, 2001 at 13:01 UTC
    I know...but it wouldn't have saved much...I still would've had to write the subroutine for the formatting, and I didn't have permissions to install at the time. Now, I'm an admin for some reason... gives me permission to listen to music on the server and not do C++ work.

      You don't need permission to install anything. File::Find has been a standard part of Perl forever.

      And as a bonus, it Does The Right Thing with symbolic links - which your code doesn't seem to.

      --
      <http://www.dave.org.uk>

      "The first rule of Perl club is you don't talk about Perl club."

        Erm...well, it's still too late. o.O The code's already written and posted. Plus, the only symlink I have in my dir is cgi-bin, which is a level up from public_html, so I didn't have to worry about it at the time. I'll take that into consideration, though, and see if I can do something about it.