Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by kcott (Archbishop)
on Dec 20, 2016 at 19:10 UTC ( [id://1178237]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cd /some/base/work/dir
    $ mkdir DateTime
    $ cd DateTime
    
  2. or download this
    $ wget http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-1.
    +41.tar.gz
    $ tar zxvf DateTime-1.41.tar.gz > DateTime-1.41.INSTALL 2>&1
    $ view DateTime-1.41.INSTALL  # Check there's no errors
    $ cd DateTime-1.41
    
  3. or download this
    $ view README  # That's "README.md" for this distro
    $ view INSTALL
    
  4. or download this
    $ cd lib
    $ vi DateTime.pm
    
  5. or download this
    $ cd ../t
    $ vi new_test.t
    
  6. or download this
    $ cd ..
    $ perl Makefile.PL
    $ make
    $ make test
    
  7. or download this
    $ make realclean
    $ # ... repeat commands already shown ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1178237]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found