loosid has asked for the wisdom of the Perl Monks concerning the following question:
#Open the directory to list what's inside opendir(DIR, "c:\$directory") || die "Cannot open $directory $!"; foreach $name (sort readdir(DIR)) { #Prints names sorted print "$name\n"; } closedir(DIR);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WinNT Opendir with CGI
by dws (Chancellor) on Jan 31, 2001 at 21:30 UTC | |
|
Re: WinNT Opendir with CGI
by the_slycer (Chaplain) on Jan 31, 2001 at 21:29 UTC | |
|
Re: WinNT Opendir with CGI
by chromatic (Archbishop) on Feb 02, 2001 at 02:41 UTC | |
by strredwolf (Chaplain) on Feb 04, 2001 at 11:00 UTC | |
|
Re: WinNT Opendir with CGI
by loosid (Initiate) on Jan 31, 2001 at 21:49 UTC | |
|
Re: WinNT Opendir with CGI
by the_slycer (Chaplain) on Jan 31, 2001 at 23:18 UTC | |
|
Re: WinNT Opendir with CGI
by dws (Chancellor) on Jan 31, 2001 at 21:32 UTC | |
|
Re: WinNT Opendir with CGI
by dws (Chancellor) on Jan 31, 2001 at 21:31 UTC |