|Think about Loose Coupling|
Re: Pearls (not really) of Perl programmingby radiantmatrix (Parson)
|on Nov 24, 2004 at 23:16 UTC||Need Help??|
One of mine, in the early days of learning about DBI...
Note the complete lack of error handling, no use of prototypes, and the assumption that only one row would be returned. I also particularly enjoy the two separate print statements. And, I printed to STDOUT (without setting $|) even though I wanted to write to a file.