develooper Front page | | Postings from July 2002

Re: Golf this.

Thread Previous | Thread Next
July 16, 2002 19:42
Re: Golf this.
Message ID:
En op 17 juli 2002 sprak Kristen Thelen's hubby:
> I've come up with a couple other 20s:
> 20 print\@h{<>}&&sort%h
> 20 print!\@h{<>},sort%h  (not sure why this works, so maybe it doesn't:)

Hurrah! I'm going backwards!

27 print sort%{{map{$_,""}<>}}

But at least I got rid of that annoying %h variable.


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