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.
  • $p = [ { a => 1, b => 2, c => 3 }, “ant”, “bat”, “cat” ];
    Which of the following expression gives the value cat ?
    $p[3]
    $p->{c}
    $p->[4]
    $p->{bat}

    $p->[3] would be correct, and

    %x = qw(C Ritchie Perl wall C++ Stroustrup); print @x{C, C++}

    Error : should use % instead of @ in print function
    Displays Stroustrup
    Displays Ritchie
    Displays Ritchie Stroustrup

    This doesn't compile, but of course, they didn't use " in a bunc

    • Maybe hiring someone to maintain some nasty code is exactly what they're going after. Of course, that doesn't jive with their claim of looking for the best Perl hackers. And why on earth would anyone put up a test like this claiming to be looking for the best-of-the-best? I know a few places I could go where I couldn't throw a rock without hitting one. And that Flash intro was just horrid. It must have been written by the winner of their test to find the world's best Flash composer.
      --
      The great thing about multitasking is that several things can go wrong at once.
      • Maybe hiring someone to maintain some nasty code is exactly what they're going after.
        I don't think so. I've been in touch with them, and even corrected 10 of their questions with various levels of LART application. They fully believed (a) their questions were satisfactory, albeit hard and (b) they weren't trying to trick anyone with impossible questions.

        I presume they've updated the quiz by now, but I haven't had time to go back to check.

        --
        • Randal L. Schwartz
        • Stonehenge