in reply to Re^3: Read text in file and assign to variable
in thread Read text in file and assign to variable

Thanks Athanasius and kcott. I ended up using ($version) because I consider it more readable.
  • Comment on Re^4: Read text in file and assign to variable