develooper Front page | perl.fwp | Postings from January 2002

Re: solutions

Thread Previous | Thread Next
Bart Lateur
January 29, 2002 01:24
Re: solutions
Message ID:
On Mon, 28 Jan 2002 23:14:00 -0500, Keith C. Ivey wrote:

>But I was glad to see in the results several versions (by me 
>and others) of the lovely
>  -ln 1&($.|y|o|||y|e|||y|u|||y|a|||y|i|||y|y|||y|||c)||print

Yeah, me too. The huge amount of vertical bars is really delightful.

BTW BooK wrote:

>Well, bravo! I must admit I find it quite "interesting" to try to count an
>odd number of things while almost everybody else was looking for even

Maybe it's just a matter of interpretation, but this above example tries
to see if *any* of the results are odd, in which case the total test
will fail, and nothing will be printed.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About