develooper Front page | perl.golf | Postings from October 2005

Re: [Perlwar] Samples?

Thread Previous
From:
Yanick Champoux
Date:
October 18, 2005 20:12
Subject:
Re: [Perlwar] Samples?
Message ID:
200510182316.55484.yanick@babyl.dyndns.org
On October 18, 2005 08:22 am, Bruce Preston wrote:
> Actually, I'm just trying to work out why:
>
>    '^'.(grep$_[$_],1..@_)[0]
>
> ..wouldn't always win if it got executed first.

 Well, it will always p0wn the closest agent, but as long as that second agent 
is owned by you, the first one becomes useless. Worst, a second player could 
p0wn it in turn in a subsequent iteration and trigger a massive p0wning chain 
reaction.

Joy,
`/anick

Thread Previous


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