develooper Front page | perl.perl5.porters | Postings from September 2011

A modest proposal regarding and

Thread Next
John Peacock
September 18, 2011 19:03
A modest proposal regarding and
Message ID:
I need to do another CPAN release for because of this:

Can I please revert the change to the replacement UNIVERSAL::VERSION so 
that it once again returns a stringified version object, rather than the 
contents of the package $VERSION scalar?

Attached is a patch to that accomplishes two things:

1) removes the utterly insane '-1, set by' nonsense
2) replaces it with the string 'undef' (NOT the undef value)

That string is special to, and does not throw an error (it 
also evaluates as a 0 version).  Thus, we preserve's ability to 
add packages that failt to declare $VERSION in the symbol table.  But we 
do it in such a way that does not throw an error from

Let the arguments begin...


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About