That's new()s to Me

cgrau on 2007-07-31T03:06:30

I was recently tasked to work with a development team in another department at work. During a code review to get me up to speed on their project, I asked why all of their classes had an identical new() subroutine, even though many of them inherited from the same parent class.

The lead developer told me, "You can't inherit new in Perl."

It hasn't been a very fun project to work on.