I use glob to find a txt file in a directory "files",I want to be glob free,because perlglob needs to be installed,how do I change the below line to remove glob?
$file = glob(($dir . '\\files\\*.txt'));
In reply to Removing glob by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |