John W. Krahn wrote:
> Gan Uesli Starling wrote:
>>
>> Am wanting to get a list of files in a directory, but only
>> files which are not themselves further sub-directories.
>>
>> When I do this...
>>
>> opendir(DIR, $this_path) or die "Can't opendir $this_path: $!";
>
> You are opening the
on Thu, 13 Feb 2003 00:21:03 GMT, [EMAIL PROTECTED] (Gan Uesli
Starling) wrote:
> Am wanting to get a list of files in a directory, but only
> files which are not themselves further sub-directories.
>
> When I do this...
>
>opendir(DIR, $this_path) or die "Can't opendir $this_path: $!"
Gan Uesli Starling wrote:
>
> Am wanting to get a list of files in a directory, but only
> files which are not themselves further sub-directories.
>
> When I do this...
>
> opendir(DIR, $this_path) or die "Can't opendir $this_path: $!";
You are opening the directory with opendir() but you a
Am wanting to get a list of files in a directory, but only
files which are not themselves further sub-directories.
When I do this...
opendir(DIR, $this_path) or die "Can't opendir $this_path: $!";
@file_list = glob("*");
closedir(DIR);
...it gives all the files, including the files whi