in reply to Re: Why eval $version?
in thread Why eval $version?
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Why eval $version?
by choroba (Cardinal) on Jul 09, 2020 at 15:59 UTC | |
by hippo (Archbishop) on Jul 09, 2020 at 16:10 UTC | |
by Haarg (Priest) on Jul 09, 2020 at 18:22 UTC | |
by LanX (Saint) on Jul 09, 2020 at 16:19 UTC | |
Re^3: Why eval $version?
by LanX (Saint) on Jul 09, 2020 at 16:18 UTC | |
by Haarg (Priest) on Jul 09, 2020 at 18:33 UTC | |
by LanX (Saint) on Jul 09, 2020 at 20:49 UTC | |
by Haarg (Priest) on Jul 10, 2020 at 10:04 UTC | |
by LanX (Saint) on Jul 10, 2020 at 15:39 UTC | |
by LanX (Saint) on Jul 10, 2020 at 17:34 UTC |