If you fixed the parens, the $1 is still not seen because you have a single-quoted string. Interpolation works on double-quoted strings.
In reply to Re: Can't use string (">> /$1/$2/figs/Com/dis") as a symbol ref while "strict refs" in use
by John M. Dlugosz
in thread Can't use string (">> /$1/$2/figs/Com/dis") as a symbol ref while "strict refs" in use
by pinnacle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |