Stories
Slash Boxes
Comments
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Questions (Score:3, Interesting)

    For the last two hires I had, I threw together a few questions about Perl to smoke out anyone who obviously had never done anything with the language.
    What are the differences between C<our>, C<my> and C<local>?

    What is C<$!>?

    What is C<$_>?

    What is C<$&>?

    What is C<$1>?

    How do you delete a file?

    What does C<TMTOWTDI> mean?

    How do you implement a list of hashes?
    I figure that someone who's been using Perl for a while will know all these. I don't like memorization questions, but if you don't what $1 is, then something is wrong.

    For my/our/local, I'm OK with an answer like "I always use 'my'".

    The "delete a file" is there to see who knows the difference between delete() and unlink().

    --

    --
    xoa

    • Re:Questions (Score:3, Interesting)

      FWIW, I would not expect everyone to know what our() or $& is; the former is new, the latter is rarely used. I would not care if anyone knew what TMTOWTDI is. Of course, that they cannot answer the question accurately isn't a bad sign, necessarily.
      • Right, none of them are necessarily exclusionary. It's just to get a feel for what the person knows overall. None of them are make-or-break. (Well, maybe $_ is)

        I make a big point of starting out the interview by saying "You will not know the answer to everything I ask. You will not have experience in everything I ask about. Please don't think that any one question is going to kick you out the door."

        It's not just Perl stuff that I make that comment for. For instance, I was looking over some sysadmi

        --

        --
        xoa

    • Once upon a time I went for interview with amazon.co.uk. Overall I'd have to say I didn't like the location or the atmosphere, and I was glad I didn't get the job, however the random test at the interview was actually quite good.

      Without any warning the sat me down with a glass of water, a pencil and a sheet of awful HTML and asked me to fix it. At once I said it was not possible without knowing the DTD I was correcting it too, they said "current", and left me to it. I know I scored well they told me so wh

      --
      -- "It's not magic, it's work..."