On topic: The Wednesday Challenge

Nigel Rantor wiggly at wiggly.org
Wed Aug 15 16:56:22 BST 2007


Andy Armstrong wrote:
> On 15 Aug 2007, at 15:46, Nigel Rantor wrote:
>> foreach my $ord ( 0..255 )
>> {
>>     next unless $byte[$ord];
> 
> ^^^ lose one point for that :)
> 
>>     print chr($ord) x $byte[$ord];
>> }

meh, better than using a bloody hash though.

and jacqui is right, this shows just how bored I am today...

   n



More information about the london.pm mailing list