> On Dec 13, Ryan Fischer said: > > >> i wouldn't call them counter intuitive as they are clearly documented > >> and make it more flexible than your single use approach would. > > > >To each his own. Not everyone has the time to dink around and pat each > >other on the back at obscure usages and abuses of functions that have > >other purposes. ;) > > I'm afraid you've said that to the wrong crew (re: the golf game we played > at the beginning of the month).
Nah, I've been subbed to this list since before then, and I have the GREATEST respect for the people who know enough about Perl to be able to put those small one-liners together that fast. It truly is fascinating. A few years ago when I used to use Perl a lot more, I'd enjoy doing the same on other discussion lists I've subbed to. The problem is when people value that over getting the job done, and try to make people feel inferior with their "knowledge." I guess it simply wasn't good that the guy asked a question on an FWP list where TMTOWTDI and so many people think the short ways are better. If he was simply looking for an answer, any other list would have worked fine. > And it's not an obscure use NOR an abuse of the function. The fact that > tr/a-z// replaces the empty replacement list with a-z is SPECIFICALLY > documented, and the use of this for counting characters is SPECIFICALLY > suggested. I stand corrected. :) -- -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/
