davido is exactly right. You can use your $Dir as a filename pattern by saying instead, my @files = glob $Dir;
After Compline,
Zaxo
In reply to Re: Pass variable as Directory
by Zaxo
in thread Pass variable as Directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |