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).

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.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.

Reply via email to