* Marcus Holland-Moritz <[EMAIL PROTECTED]> [2007-12-09 21:20]: > We're all stuck at 21. :-)
Well, `bless`, `shift` or `$_[0]`, `{}`, [EMAIL PROTECTED], and one comma are all inevitable. That’s 15 characters in fixed strings alone. Then you’ll also need to rearrange list or evaluation order somewhere, which means at least one pair of delimiters with two indices and a separator inside, so that’s another 5 tokens that can’t be any shorter than 1 character. Therefore no possible solution to this problem can be any shorter than 20 characters under any circumstances. Besides the solutions already posted, I found a couple of ways to write it in 22 characters, plus two more ways to do it in 21 characters, one of should work but doesn’t because of that stupid prototype that `bless` has. But I didn’t manage to beat 21 characters, probably because it’s not possible. Beating 20 would certainly be impossible. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>