Try having a return $self; as the last line in the function instead of depending on an explicit return. *wink*
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.