On Oct 18, 4:53 pm, [EMAIL PROTECTED] (Chas. Owens) wrote: > Also, don't use > dirhandles if you are just going to use readdir in list context. > dirhandles are for iterative reading. Use a glob to get a list:
First time I've ever heard that piece of advice. Can't understand why you'd give it. Especially since you seem to give the impression that open $dh, 'dir/'; @files = readdir $dh; and @files = <dir/*>; give the same result. They don't. Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/