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

'>> /$1/$2/figs/Com/dis/result.xml'

You are using single quotes around this string and they do not interpolate the variables. Try using double quotes: ">> /$1/$2/figs/Com/dis/result.xml"

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

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