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

Re: even.pl solutions

Thread Previous | Thread Next
From:
Bill -OSX- Jones
Date:
February 1, 2002 08:31
Subject:
Re: even.pl solutions
Message ID:
1A28FCA2-1731-11D6-83CE-0003930CAF62@mac.com
On Friday, February 1, 2002, at 01:05  AM, Andrew.Savige@ir.com wrote:

> fun_with_perl@ton.iguana.be wrote:
>>  And while writing this text, i in fact found:
>>
>>  $_=aeiouy;s!!\n\$|--&y-!g;print eval"grep$_--c,<>"
>
> Wow! 49 strokes ...


More proof I am a beginner  ...  :(

:)  I spend the better part of 4 hours saying there had to be a way 
to do this with grep but I couldn't get my attempts under 96  ... I 
stopped trying when I began seeing the leader board's very low 
scores and figured grep was not a correct solution path...  I keep 
mumbling REs REs - it must be an RE  :)

Maybe Yanick's "The Joy of Perl Code" is starting to affect me?

	Oh well  :)
_Sx____________________
  ('>    -Sx- IUDICIUM
  //\   Have Computer -
  v_/_    Will Hack...


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