On Tue, Apr 21, 2009 at 4:34 PM, Eric Wilhelm <scratchcomput...@gmail.com> wrote: > $ perl5.8.8 -e 'BEGIN{package foo; $VERSION=v0.2.1_1; > $INC{"foo.pm"}=1;} use foo v0.2.10; print "yipeee!\n"' > yipeee! > > $ perlv5.10.0 -e 'BEGIN{package foo; $VERSION=v0.2.1_1; > $INC{"foo.pm"}=1;} use foo v0.2.10; print "yipeee!\n"' > foo version v0.2.10 required--this is only version v0.2.1_1 at -e line 2. > BEGIN failed--compilation aborted at -e line 2.
Going to 'perldoc perldata': Version Strings Note: Version Strings (v-strings) have been deprecated. They will be removed in some future release after Perl 5.8.1. The marginal benefits of v-strings were greatly outweighed by the potential for Surprise and Confusion. Since Perl 5.8.1 was released in 2003, I think it's OK to not worry about compatibility at this point. J. Random Author: "I'm Surprised and Confused when I use v-strings!" Weary Toolchain Maintainer: "Then don't do that!" -- David