On Mon, Jun 10, 2002 at 01:27:06PM -0400, Prakash Kailasa wrote:
> I have until the end stuck myself like a glue to the
> two (actually four) ungly variables to get and accumulate counts. And
> to top it off, I had to waste a whopping 8 chars, for initializing two
> of those variables.
> 
> $V=$T=0;
> map{$V+=$v=y/aeiouy//,$T+=$t=s/\w/$&/g;sprintf"%-*s",y///c,"$v/$t"}

I had those dang variables floating around my program the whole time too!  :)
Finally, after having $V=$T=$p=$q=$s=$Z (or something similar) in my program
for the entire week, I found a clever way of undefining all variables $B..$Z
(not $A-$Z, just considering the tiebreaker):

map$$_=$Z,B..Z;

I was pretty proud of that, even though I knew it was only necessary to make up
for my lack of ability to get rid of the variables entirely.

> would have liked to get rid of the unsightly sprintf with a better
> martian idiom [I can dream, can't I?]).

We (non-aliens) are the music makers and we are the dreamers of dreams.

-- Mike

-- 
Michael W. Thelen
eval unpack u,'M*"1C/2<P,BDN-"`U+C`A(RLG*3U^>2\A+48O82UZ+SME=F%L*"1C+B(G=2HG
M+"<Z,D<U4SU<(B%!.T9=5#HF-5(H)2%%/$907$`Z)B5#.E8U4BM@2&`G+EPD$+R(I.P``'

Reply via email to