in reply to Re: Re (tilly) 2: Fore!!! (was The Perl Review)
in thread The Perl Review
$_=shift;y/0-9A-Z/\0-#/;(s/.//,($a*=36)+=ord)while lengthYes, no output-- the game rules were unclear that way, too. Using your tricks I can get down to -- 43.
$_=pop;y/0-9A-Z/\0-#/;($a*=46)+=ord for/./gIf only the null byte were legal in y///, then the above could become 42...
-- jhi
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re5: Fore!!! (was The Perl Review)
by blakem (Monsignor) on Feb 02, 2002 at 01:16 UTC |