Prepending the filename was what I needed as well - I assumed that something would "remember" from the opendir.
Well, I can imagine people assume the results from readdir have the directory name prepended. But if you think so, you wouldn't use /^\./ to weed out filenames, would you? Because then you would either select all filenames in the directory, or none at all, depending whether the directory name starts with a dot or not.
Abigail
In reply to Re: Processing all files in a directory
by Abigail-II
in thread Processing all files in a directory
by billie_t
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |