http://qs321.pair.com?node_id=121037


in reply to Re: Recursive CGI Dirlist
in thread Recursive CGI Dirlist

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.

Replies are listed 'Best First'.
Re: Re: Re: Recursive CGI Dirlist
by davorg (Chancellor) on Oct 24, 2001 at 13:04 UTC

    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.
        The code can be corrected and reposted, so you have a second chance.
        Your lucky number is 4.
        Your anecdote is "the tractor story".
        As an aside, one of your websites is configured incorrectly, and in a rather amusing fashion. <simpsons>Try to guess which, I think you'll be pleasantly surprised.</simpsons>