<div dir="ltr">We might go into this deeper on Tuesday (less than a week until the next Perl Mongers meeting! See you at 11:30 in WSLR 116!), but this is an issue I'm having.<div><br></div><div>In Javascript, when I include a library I wrote, I put <script src="bulldada_0.1.js"> and if I want to work on the module and make changes, I can do that to bulldada_0.2.js, and I can change the HTML when and if I'm ready to use 0.2. Theoretically, I can have a directory full of bulldada_*.*.js. <br clear="all">
<div><br></div><div>The capabilities are almost there with Perl. I can specify a version in my module:</div><div>package Bull::Dada ;</div><div>our $VERSION = 0.01 ;</div><div>1</div><div><br></div><div>I can specify a version number in my code;</div>
<div>use strict ;</div><div>use lib '/home/jacoby/lib' ;</div><div>use Bull::Dada 0.01 ;</div><div><br></div><div>But, Bull::Dada, as I understand it, has to be /home/jacoby/lib/Bull/Dada.pm. I couldn't have it be /home/jacoby/lib/Bull/<a href="http://Dada_0.01.pm">Dada_0.01.pm</a> alongside <a href="http://Dada_0.02.pm">Dada_0.02.pm</a>, where I'm changing the subroutines around and such, but I'm not ready to use it in real code, or perhaps it uses OAuth 2.0 while 0.01 uses OAuth 1.0 or whatever.<br>
<br>To my knowledge, I cannot do this in Perl, as much as I may desire it. Am I wrong?<br>-- </div>David Jacoby     <a href="mailto:jacoby.david@gmail.com" target="_blank">jacoby.david@gmail.com</a>
</div></div>