What's the point of this....
our $VERSION = '0.65';
$VERSION = eval $VERSION;
I don't understand how that's different from..
our $VERSION = '0.65';
What's the point of this....
our $VERSION = '0.65';
$VERSION = eval $VERSION;
I don't understand how that's different from..
our $VERSION = '0.65';
Try this code...
#!/usr/bin/perl
use strict;
use warnings;
our $VERSION = "0.001_001";
print "$VERSION == 0.001_001\n";
$VERSION = eval $VERSION;
print "$VERSION == 0.001_001\n";
The reason can be found here...
http://www.dagolden.com/index.php/369/version-numbers-should-be-boring/
The above is a long read though, what the eval
did was make it possible to compare the VERSION numerically ie it removed the _
.