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.
  • It was a cool talk, with loads of other things to ponder over. I made more notes from your presentation than anybody else's.

    I think I suitably showed myself up, when asked to help out on the testing talk. I was asked to write a quick few lines of code to detect the numbers between 2 and 5. Knowing he was trying to trip me up, halfway through I distracted myself by asking the return codes he wanted, then carried on with:

    my $input = shift;
    return 1 if($input >= 2 || $input <= 5);
    return 0;

    Having sat down I suddenly spotted the humongous gaff. Making many apologies for being an idiot I hastily replaced || with &&.

    I think forgetting Bayes' theorem is acceptable.