in reply to How do I write a new sub in a git cloned CPAN module and test it bypassing the Original Module
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I write a new sub in a git cloned CPAN module and test it by bypassing the Original Module
by yysachinyy (Novice) on Dec 21, 2016 at 07:41 UTC | |
by choroba (Cardinal) on Dec 21, 2016 at 08:58 UTC |