Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Working with old code

by Your Mother (Archbishop)
on Jun 26, 2020 at 17:04 UTC ( #11118571=note: print w/replies, xml ) Need Help??

in reply to Working with old code

Write tests for every single part of the business in:out you can possibly figure out. Perl testing, even system testing, is extremely easy and flexible once you get a feel for it. Once you have a deep test suite, you can refactor with confidence and speed because you will know immediately if you broke something or changed behavior.

Replies are listed 'Best First'.
Re^2: Working with old code
by toolic (Bishop) on Jun 26, 2020 at 20:22 UTC
    ++ ... and run coverage (Devel::Cover) to prove the tests hit what you expect them to hit.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2021-09-25 19:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found