Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: update required for subroutine

by pemungkah (Priest)
on Apr 21, 2010 at 20:02 UTC ( [id://836118]=note: print w/replies, xml ) Need Help??


in reply to update required for subroutine

I realize you're in a hurry, but you're really going about this all wrong.

You're running code, getting an answer, posting it here, and asking for help.

This is not, as they say, a sustainable development model.

Do you have tests? Are you using a source code management tool? I know - you don't have time. But consider: your development cycle is now at the mercy of folks deciding to help. You need to do more to help yourself.

Take one example of your input and expected output, and write a test. Use Test::Deep to check the differences between the data structure you're getting and the one you want. Start using the debugger to step through the manipulations of the data structure to check that each step is doing what you want, or to find where it's not.

You don't have to use something complicated to start doing source control. Use RCS. You don't have to set up a repository, and there are very few commands. Learn SVN or Mercurial or git some other time.

The only person who can really invest in this code is you, and you need to treat yourself right and give yourself the tools you need to fix this. I realize that you're probably under pressure to get this done, but your current working method will not do it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-25 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found