Like
demerphq said, IE and the code that produces its User-Agent string was written by a team that's part of a company I believe has time and again proven they care about standards more in the sense of how to trample them best. Somehow I do not think of the people behind Perl as a group with similar mindset.
Makeshifts last the longest.