> On Tue, 2006-09-05 at 11:52 -0700, Timothy Johnson wrote:
>> It's the Perl
>> equivalent of having to remember 'I before E except after C...'.
> 
> '.. except where it's not.'
> 
> E.g:
>   height
>   weight
>   sex
> 
> (OK, I included 'sex' just to get your attention.)


On some platforms:

  perl -e 'while(<>){ print if /[^c]ei/ }' /usr/share/dict/words

Regarding Timothy's thoughts, I tend to believe perl wouldn't be as popular
if the "use strict" pragma defaulted to on.  I don't code in C because it's
too hard to get all the little details right.  Perl is very forgiving, and
for my needs it's perfect.  I'm guessing there are a few others in the same
boat.  =)

- B



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to