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.
In reply to Re: Re: How to measure Perl skills?
by Ovid
in thread How to measure Perl skills?
by optimist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |