in reply to Re^2: Can't use string (">> /$1/$2/figs/Com/dis") as a symbol ref while "strict refs" in use
in thread Can't use string (">> /$1/$2/figs/Com/dis") as a symbol ref while "strict refs" in use

it does no good telling them to use 3 arguments to open instead of only 2

Yes, the error message received was not immediately diagnosable given the code shown. Therefore, the only action I could see was to lead the OP toward fixing the 4 things obviously wrong with his code, hopefully leading him toward receiving a more meaningful error message.

There's certainly some good from that, *fingers crossed*

  • Comment on Re^3: Can't use string (">> /$1/$2/figs/Com/dis") as a symbol ref while "strict refs" in use