Stories
Slash Boxes
Comments

SoylentNews is people

posted by LaminatorX on Tuesday December 09 2014, @02:18PM   Printer-friendly
from the call-to-erms dept.

If you are reading this and you are experienced with Perl, then your community needs you.

You see the heroic work being done by our devs Proposed Moderation Rework Experiment and think that couldn't be you? Think again Comrade - you too could be a SN hero!

Seriously - we need some Perl skilled people to offer some time. It doesn't need to be a massive commitment, a few hours here and there to squash a bug or two as it suits would be just fine.

You can contact me by email (above), or you'll find the usual reprobates malingering around #soylent on our irc server.

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Informative) by isostatic on Tuesday December 09 2014, @08:00PM

    by isostatic (365) on Tuesday December 09 2014, @08:00PM (#124371) Journal

    If you don't know perl

    * notfy and notify are different, because you don't need to define variables unless you have "use strict;" at the top
    * The lack of semicolon on line 4 is fine, the program will only run system if $notify is set to a non-zero value (and it's undef at this point). Perl allows if statements to go after code.
    * "I really did it" is always printed, as you might have guessed from the semicolon, however in most languages a line with "if ($A) print 'MSG';" would print MSG if $A was set. In Perl it's invalid code. You need

    print 'MSG' if ($A);

    But if you want two lines you have to refactor to

    if ($A) {
    print 'MSG';
    doSomething();
    }

    Perl does have a redeeming feature though

    "live free" or die;

    Is perfectly valid code.

    Starting Score:    1  point
    Moderation   +1  
       Informative=1, Total=1
    Extra 'Informative' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   3