|No such thing as a small change|
Re: Your Favorite Heroic Perl Storyby holli (Monsignor)
|on Jan 22, 2005 at 07:42 UTC||Need Help??|
I was not long at my new job when i wrote some little tools for my personal ease, when my boss looked over my shoulder.
>> What is this?
<< That is perl. It is a language...
>> I know what is is, we don´t use that, it´s whacky.
<< No but. We don´t use it!
>> Ah, ok. .oO(a*****e)Oo.
Two or three weeks later, i looked over the bosses shoulder while he tried to write a filter for a textfile (in VB) with heavy use of index(), substring() and ugly long if/else constructions. It ended up with 70 lines of code and three hours work.
I let him do that and in the meantime i prepared a one-liner in the
style (one line, 2 minutes).
When i showed it to him he was first angry and then amazed. And since that day we use perl a lot and i am the companies "chief of perl".
holli, regexed monk