Why do you put the chdir inside the foreach loop? Would not changing the directory at the top of the foreach loop once be sufficient.
As a final note - dragonchild's code provides the directory and file name in the file list, so the chdir really is not required.
Cheers - L~R
In reply to Re: Re: Re: Unique Variable names...
by Limbic~Region
in thread Unique Variable names...
by bioinformatics
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |