in reply to Re^4: 500 Not a SCALAR referencein thread 500 Not a SCALAR reference
That explains a fair bit that does.