The stupid question is the question not asked | |
PerlMonks |
Re: How do I write a new sub in a git cloned CPAN module and test it by bypassing the Original Moduleby hippo (Bishop) |
on Dec 20, 2016 at 16:09 UTC ( [id://1178220]=note: print w/replies, xml ) | Need Help?? |
I git cloned DateTime module from cpan. I already had a DateTime installed. I added a new method in DateTime.pm and worte a test for a new method added. All good so far. Now when I tried to run the script it uses the already installed DateTime module and not the one I have modified. How did you run the test script? By executing make test or some other means?
In Section
Seekers of Perl Wisdom
|
|