in reply to How do I read a directory?

This is very good, but there is one error:

open DIR, $dir || die $!;
should be:

opendir DIR, $dir || die $!;


- Sherlock

Replies are listed 'Best First'.
Re: Answer: How do you read a directory
by I0 (Priest) on Apr 20, 2001 at 10:14 UTC