in reply to Re^2: callback function params
in thread callback function params

That looks like you omitted the my ($sth) = @_; line.