On Wed, 2 Feb 2000, Kevin D. Clark wrote:
> My favorite one-liner of the past month, a variation of something I
> saw a few years ago:
> 
> perl -le '(a x $_) !~ /^(aa+)\1+$/ && print while ++ $_'

  *shudder*  How disturbed does someone have to be to think of using the RE
engine to check if a number is prime?  :-)

--
Ben Scott
[EMAIL PROTECTED]


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to