Wouldn't it be great if ... use Foo 0.02 already dismissed underscores from $VERSION.
Doesn't it?
$ cat Foo.pm package Foo; use strict; use warnings; our $VERSION = '1.01_01'; print "Hello!\n"; 1; $ perl -I. -we 'use Foo 1.00; 1;' Hello! $
I must have missed something but there are no warnings here (on perl 5.20.3) and there's no eval in the module. Is this a solved problem?
In reply to Re^2: Why eval $version?
by hippo
in thread Why eval $version?
by Aldebaran
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |