Aaron Sherman said:
> On Mon, 2005-03-07 at 08:17 -0500, Greg London wrote:
>> 5: What is printed when this script executes?
>> package Dog;
>> sub Speak { print Dumper [EMAIL PROTECTED]; }
>> Dog->Speak('woof');
>
> Bot answers are the same, "nothing". I'd ask a followup question: What
> if I used "perl -MData::Dumper" to run it?In a one-on-one verbal interview, if they answered "nothing" and said nothing else, I'd probably note to myself that the applicant is problem-oriented, rather than solution oriented. I then might ask "How would you fix it? And what would the output be then?" But I would not give them the fix. I'd still want to know if they could get it workign on their own. If the applicant shows a tendancy towards being problem-oriented but shows initiative and an understanding of perl, I'd probably put them on a verification job, because those guys are paid to tear apart other people's code. If teh applicant just gave the answer [ 'Dog', 'woof' ] without mentioning the compile problem, I'd make a note that they are more solution-oriented and would hire them as a designer. If the applicant pointed out the problem but then offered a solution without further questioning, I'd note that they can see the problems but have the initiative to offer solutions on their own. They'd probably get the team-lead positions. And if the applicant seems to take joy in simply pointing out the problem as a way of demonstrating how smart they are but consistently needs prodding to answer the meat of the question, I wouldn't let them work for me if you paid me. I've got a linux box with perl installed that will complain about compile errors and just sit there until I fix them. I don't need to hire someone to do that. _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

