Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

cgrau (3787)

  (email not shown publicly)

Journal of cgrau (3787)

Monday July 30, 2007
10:06 PM

That's new()s to Me

[ #33924 ]

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.