I could have sworn that I posted this last week, . . .
You did, Pass variable as Directory.
The <> form of wildcard expansion has semantic weaknesses, taking $dir as a reference to a filehandle. Use glob instead. my @allfiles = glob $dir;
After Compline,
Zaxo
In reply to Re: Directory location from scalar
by Zaxo
in thread Directory location from scalar
by ecuguru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |