in reply to Simplicity vs. Doing It Right
UPDATE:
Had to run off to dinner - while i was gone i remembered an
incident where i chose the 'right now' way instead of the
right way. Recently i needed to parse some HTML that i
wrote, instead of using a robust CPAN module, i quickly
threw together:
Pretty fragile code, but i have to admit that i was able to finish my task very quickly. Of course, since i am the one who wrote the HTML that i parsing, i can get away with it. Trying to find that wonderful balance between 'being smart' and 'getting stuff done' is indeed an art. :)my @mp3 = $html =~ /([-.\w]+\.mp3)/g;
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|