logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: [Module::Build] More $VERSION parsing fun: msg#00035

Subject: Re: [Module::Build] More $VERSION parsing fun
Ken Williams wrote:
I don't intend to change anything in the perl core. This would be something that happens during "Build dist" and the rest of the world wouldn't be able to tell anything unusual is going on, because it's just normal perl code from circa 1994 at that point.

Are you just thinking that `Build dist` would replace the $VERSION line with the numeric equivalent in every .pm that is being included in the tar file? That's not a half bad idea, since there would be only one process (M::B) that would be responsible for evaluating whatever complicated magic the author is using in the source module to assign $VERSION. It would still mean M::B would have to eval() the line, but you already do that now and no one's been [seriously] hurt. ;-)

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl


<Prev in Thread] Current Thread [Next in Thread>