http://qs321.pair.com?node_id=1093579


in reply to I need help with the error "Modification of non-creatable array value attempted"

Oh, I've changed the line $number/= 2; to $number= int($number /2) and now it works. I don't know why :P Got other problems now but I think I'll figure it out :D