What is happening is that your files in @allfiles looks something like this.
../alya/problem1
../yltra/result
the s/\.\/// removes the second dot and the / so your array looks like this.
.alya/problem1
.yltra/result
So try removing s/\.\///;
In reply to Re: Array error!
by Pug
in thread Array error!
by phathead22
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |