in reply to Re: PLEASE Help with this script
in thread PLEASE Help with this script

I came in at the end of this project and am not very familiar with perl at all. I used a working script and attempted to edit it to create a new file but it's not working out for me.

Replies are listed 'Best First'.
Re^3: PLEASE Help with this script
by GrandFather (Saint) on Dec 16, 2009 at 22:58 UTC

    At the start of the learning curve this advice may not help a lot, but the conventional wisdom is: first create a unit test for the code you are about to change, then make the change. The idea is that you write a regression test that confirms the current behavior doesn't get broken by changes that you make. It's smart to also write a test the confirms the expected new behavior works too (when it's implemented of course).

    The other important thing is to use a revision control system. That allows you to easily back out changes and to compare what you have now with some past version.


    True laziness is hard work