In our @num2nam = (... [ six => 0.1.1], ...) not quoting the values (e.g. 0.1.1) results in unprintable characters (0.1.1 concatenates ascii 0, 1 and 1 to a string) that confuse eval. After fixing it, you will only have to find why $res is undefined.
Edit: I am slightly out of my depth here as I was not aware of the "version strings" before haukex's Re^2: What am I breaking?. Although quoting the version strings may have fixed the problem, there is the danger of short-circuiting the test logic. Perhaps one can sprintf() those naked version strings using the special sprintf formatter mentioned by AnomalousMonk.
bw, bliako
In reply to Re: What am I breaking?
by bliako
in thread What am I breaking? (solved - double unquoting needing 'qw')
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |