jdalbec has asked for the wisdom of the Perl Monks concerning the following question:

I'm confused by the output of the following statement. You'll have to select the black table to read it because it's an OCR2 spoiler.
print 96.97.98; # prints "abc"
Where is this behavior documented? (I didn't see anything in "man perlop".) Why is this the "right" behavior?

Thanks,

jdalbec

Replies are listed 'Best First'.
Re: Strange output
by Aristotle (Chancellor) on Aug 06, 2004 at 02:50 UTC
    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.