rename $_, $OUT_DIR . "/allfiles/$_" for (glob 'pair*' . $RUN_NAME . '.log');
Alternately you could use opendir and readdir with a regex to check the filename instead using of shell-like globbing.
In reply to Re: Can I use a regex here?
by repson
in thread Can I use a regex here?
by mndoci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |