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: 2) by The Mighty Buzzard on Wednesday December 10 2014, @12:24PM

    by The Mighty Buzzard (18) Subscriber Badge <themightybuzzard@proton.me> on Wednesday December 10 2014, @12:24PM (#124620) Homepage Journal

    It actually works pretty well and it's not difficult to modify... it's just a bit weird to wrap your brain around at first glance. Have a look here [github.com] if you want to see what I mean. It defines the locations of the subs and various other things about them then calls whatever came in as &op=foo (or default) via something like this [github.com] later after doing various checks. Easiest thing in the world to grok the first time you see it? Not so much. Does make things quite easy to maintain after it clicks in your head though.

    If you haven't already, feel free to get in touch with juggs@soylentnews.org and he can get you set on the path to the dark side.

    --
    My rights don't end where your fear begins.
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by Marand on Thursday December 11 2014, @01:21AM

    by Marand (1081) on Thursday December 11 2014, @01:21AM (#124926) Journal

    I see...It's almost identical to what I was doing, except easier to read because they used the arrow operator shorthand and a second hash instead of an array. Same idea, though; it's basically a struct with a reference to the sub to call, sort of like a ghetto object.

    Probably not the best way to do it, but definitely more readable than I expected, and I can certainly understand the temptation to do it that way. Perl can do a lot of really weird things that would be hard (maybe impossible?) in other languages and I used to spend a lot of time experimenting with them, so I know that temptation well. Especially metaprogramming type stuff. Perl code that modifies its own source and execs itself so that it basically evolves; scripts that keep most of their code in separate source files and eval() them in so that you can change code without re-executing; objects that load and unload parts of themselves on the fly; etc.

    Stuff that is so easy to do in Perl that you want to use it even when you know you probably shouldn't. :)

    If you haven't already, feel free to get in touch with juggs@soylentnews.org and he can get you set on the path to the dark side.

    I haven't yet, but I think I will. It wasn't clear what sort of work was needed so i wasn't sure I'd be useful, but hey, anything helps I guess.