Syntactic Confectionery Delight | |
PerlMonks |
Re: (Golf) Cryptographer's Tool #1by btrott (Parson) |
on Jun 20, 2001 at 00:50 UTC ( [id://89809]=note: print w/replies, xml ) | Need Help?? |
Here's mine. Not particularly interesting, really, and probably
missing out on a few standard golf tricks.
67 chars. Update: got rid of one character by using substr: 66 chars. Update 2: if you don't need strict: 61. Update 3: Oh, and the reason I'm still initializing %h and $i is so that the sub will work on repeated invocations. If we don't *have* to do that, this will do: 51. Update 4: Use $_: 47. Update 5: Okay, so none of these actually *work* per the spec. Thanks, tilly. :)
In Section
Meditations
|
|