in reply to Getting current versions of Perl

I tried that -e -- I know I'm using ActiveState 5.6.0 because perl -v shows that.
my $x=10; # sets $x to 10 $x="2" . $x; # prepends a 2 to $x print $x+0; # prints $x+0.
except in the form you gave. It displays "210". What is the problem?

Replies are listed 'Best First'.
(tye)Re9: Getting current versions of Perl
by tye (Sage) on Mar 10, 2001 at 00:37 UTC

    ActiveState Perl 5.6.0 is not Perl 5.6.0. Try "perl -V" (capital "V") and you'll see something like "Locally applied patches:\tActivePerl Build 616". The fix for this bug is included in that patch.

            - tye (but my friends call me "Tye")
      You seem to be right. But that's odd... why would it be called 5.6.0 if it were not?

      I have build 623, in fact.

      As Douglas Adams said in "The Restaurant at the End of the Universe": "The Door would still be there, even if the door were not."

      Thanks.

        What version number would you like it to report?? The version number is often only part of the story, which is why there is a "perl -V" option in the first place. (:

                - tye (but my friends call me "Tye")