Thanks again guys. Sorry if this posting has caused concern on this list. This is one of the only place I trust for information so I didn't think to go anywhere else.
Mark` -----Original Message----- From: "Roger C Haslock"<[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Sun Nov 24 00:00:04 PST 2002 Subject: Re: example / tutorial for listing files? >This surely should go to alt.perl, or similar? > >opendir(DIRNAME,$dirname); >my @dirlist=readdir(DIRNAME); >. >. >. >use CGI; >my $list=''; >foreach(@dirlist){$list.=li(a({'-href'=>$_},$_)} >print ul($list); >. >. >. > > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]]On Behalf Of >Mark Bergeron >Sent: 24 November 2002 00:18 >To: fliptop; Admin-Stress; [EMAIL PROTECTED]; >[EMAIL PROTECTED] >Subject: example / tutorial for listing files? > > >I being lazy here but, how would I look in a directory, create a list of all >of the files there and assign a link with the file name: <a >href="filename.pl">filename</a> and display it on say an index page for that >directory? > >Any help? Any sites I can get a quick and easy answer to this question? I >want to do something similar to using the FileSystemObject through ASP. And >I know I'm asking for it by saying that but, that's where I got the idea >from. > >Mark > >___________________________________________________ >GO.com Mail >Get Your Free, Private E-mail at http://mail.go.com > > >_______________________________________________ >Perl-Win32-Users mailing list >[EMAIL PROTECTED] >To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/02 > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/02 > >_______________________________________________ >Perl-Win32-Users mailing list >[EMAIL PROTECTED] >To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___________________________________________________ GO.com Mail Get Your Free, Private E-mail at http://mail.go.com _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs