in reply to Re: (Golf) Hangman Player
in thread (Golf) Hangman Player
If I could change the order of the arguments, I could cut 2 characters by make the shift a pop. I am a little perplexed as to why @{pop@_} won't let me do a @$_[0], which would cut another 3 characters. *shrugs*($a=join"|",a..z)=~s/join"|",@{pop@_}//eg;($g=shift)=~s!_![$a]!g;/^$g$ +/&&push@m,$_ for@{pop@_};@m
Update: I feel slightly inadequate after reading japhy's contributions. *sighs*
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: (Golf) Hangman Player
by japhy (Canon) on Oct 04, 2001 at 20:29 UTC |