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

Re: even.pl solutions

Thread Previous | Thread Next
From:
Keith C. Ivey
Date:
January 28, 2002 16:19
Subject:
Re: even.pl solutions
Message ID:
3C55A487.3426.1ED27673@localhost
Stephen Turner <sret1@ntlworld.com> wrote:

> -n $==$.&1;$=^=7
> ...y*yuoeia***ord
> for/./g;$=||print                                50 ivey
> 
> 
> This one looks interesting, but I can't make it work. Is there a
> typo?

Yes, we've run into this before.  Some mail program along the 
way added a dot at the beginning of the second line, and then 
did it again in your message.  There should be only one dot 
there.

-- 
Keith C. Ivey <kcivey@cpcug.org>
Washington, DC

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About