Given:
In GFfP.pm:
our $VERSION = '0.1';
Later in a script:
use GFfP;
print "GFfP::VERSION: $GFfP::VERSION -- ", $GFfP::VERSION + 0, " -- ", ( $GFfP::VERSION >= 0.199999999 ), "\n";
Why do I get the output:
GFfP::VERSION: 0.1 -- 0 -- 1
I would have expected something similar to:
GFfP::VERSION: 0.1 -- 0.1 --
And even better, what should I code to determine that $GFfP::VERSION is greater or less than '0.2', which I am about to change it to, so that the script can knowledgeably use either version of the module?
I can change next version of the module (it is mine) but can't really retrofit the current version, if the line in GFfP.pm should be changed. Have I dug a hole for my module?
-- Glenn -- http://nevcal.com/ =========================== The best part about procrastination is that you are never bored, because you have all kinds of things that you should be doing. _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs