In case my assumption was incorrect and there could be a newline at the end of version, only the regex needs to be modified.
Should have thrown that in a comment as well, thanks for pointing it out to the poster.
In reply to Re^3: reading values from file
by thedoe
in thread reading values from file
by perlNinny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |