I just wrote a few lines of Perl for the first time in over a year. (I have a tiny script that, given an unsorted text file, sorts it alphabetically. I needed to sort a list of the form number: thing, but first I needed to add leading zeros to the numbers so it would stop sorting 256 before 13312.)
I am by no stretch of imagination a good programmer. It took me about an hour to figure out how to do this (split, sprintf, join, if you care) and work out the syntax. My recollection is that it then usually takes anywhere from five to thirty minutes to debug the obvious syntax errors and less obvious 'it did what' errors before a script will do what I expect it to.
It ran right the first time.
I am equal parts exuberant and terrified.
I am by no stretch of imagination a good programmer. It took me about an hour to figure out how to do this (split, sprintf, join, if you care) and work out the syntax. My recollection is that it then usually takes anywhere from five to thirty minutes to debug the obvious syntax errors and less obvious 'it did what' errors before a script will do what I expect it to.
It ran right the first time.
I am equal parts exuberant and terrified.