http://www.perlmonks.org?node_id=338850


in reply to Re: How to measure Perl skills?
in thread How to measure Perl skills?

That might work given the short time alloted for the test, but I wouldn't give them bonus points for the two argument bless. I assume that any competent programmer is going to do that (unless they are explicitly forbidding subclassing). I would simply dock them if they didn't use the two argument form.

Cheers,
Ovid

New address of my CGI Course.

Replies are listed 'Best First'.
Re: Re: Re: How to measure Perl skills?
by Anonymous Monk on Mar 26, 2004 at 01:10 UTC
    please tell me that it counts as the two-arg form of bless if you let Class::MethodMaker generate your 'new' for you
      See, this is why I love PM! Somehow I wasn't aware of the existance of this fine looking module. I ask a question about testing, and I learn something new (ok, lots of things).

      Thanks!