in reply to Strange output

It's documented under "Scalar value constructors" in perldata. These things are known as "version strings", and were introduced in Perl 5.6, only to be deprecated right in the next stable release, 5.8.

Makeshifts last the longest.