You're using glob in scalar context without fetching all the results from it.
By the way, your regex is equivalent to /^\./. You're skipping everything that starts with a .. You want /^\.\.?\z/.
In reply to Re: Loop stops at first iteration
by ikegami
in thread Loop stops at first iteration
by props
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |