in reply to How do I write a new sub in a git cloned CPAN module and test it bypassing the Original Module

You could run the specific test you want by:

perl Makefile.PL make perl -Mblib t/testfile.t

That will execute t/testfile.t 'use'-ing blib as the source for your edited DateTime.pm module. Note 'blib' and subdirectories get created when you run 'make'.

  • Comment on Re: How do I write a new sub in a git cloned CPAN module and test it by bypassing the Original Module
  • Download Code

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 Jan 17, 2017 at 16:41 UTC

    Thanks. This works for me.