If you're trying to do variable interpolation, it's definitely better to use the glob() function, because the older notation can cause people to become confused with the indirect filehandle notation.
@files = glob("$dir/*.[ch]"); @files = glob($files[$i]);
Seems like a pretty minor nit. It sounds like you're fine.
Dave
In reply to Re: opendir or not?
by davido
in thread opendir or not?
by elbow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |