Stories
Slash Boxes
Comments

SoylentNews is people

posted by janrinok on Thursday September 19 2019, @03:09PM   Printer-friendly
from the perl-one-liners dept.

Back in May, writer Jun Wu told in her blog how Perl excels at text manipulation. She often uses it to tidy data sets, a necessity as data is often collected with variations and cleaning it up before use is a necessity. She goes through many one-liners which help make that easy.

Having old reliables is my key to success. Ever since I learned Perl during the dot com bubble, I knew that I was forever beholden to its powers to transform.

You heard me. Freedom is the word here with Perl.

When I'm coding freely at home on my fun data science project, I rely on it to clean up my data.

In the real world, data is often collected with loads of variations. Unless you are using someone's "clean" dataset, you better learn to clean that data real fast.


Original Submission

 
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: 1, Insightful) by Anonymous Coward on Thursday September 19 2019, @06:10PM (4 children)

    by Anonymous Coward on Thursday September 19 2019, @06:10PM (#896191)

    But is Perl 6 used for /anything/ yet?

    Starting Score:    0  points
    Moderation   +1  
       Insightful=1, Total=1
    Extra 'Insightful' Modifier   0  

    Total Score:   1  
  • (Score: 1, Funny) by Anonymous Coward on Thursday September 19 2019, @07:03PM

    by Anonymous Coward on Thursday September 19 2019, @07:03PM (#896210)

    You brave! I was too afraid to ask that. No. Just, no.

  • (Score: 1, Interesting) by Anonymous Coward on Thursday September 19 2019, @09:35PM

    by Anonymous Coward on Thursday September 19 2019, @09:35PM (#896266)

    I use it for fun, it's a hell of a language. But I can't find anyone to pay me to work on it and I'm not aware of anything with tens of thousands users that is written in it. And of course tens of thousands of users isn't many, to be really notable it would need millions.

    I've written a script that wraps ffmpeg and uses it to reencode all of my video files to something compatible with my Kodi gadget. Plus a bunch of other miscellaneous scripts.

    So give it a look if the mood strikes. (And I realize that for most people the mood will never strike.)

  • (Score: 2) by The Mighty Buzzard on Friday September 20 2019, @01:41AM

    by The Mighty Buzzard (18) Subscriber Badge <themightybuzzard@proton.me> on Friday September 20 2019, @01:41AM (#896340) Homepage Journal

    It was used for my IRC bot, MrPlow for maybe a month. Then it got too painful to use anymore and I rewrote him in C. He's currently written in Rust just because I felt like learning the language.

    --
    My rights don't end where your fear begins.
  • (Score: 2) by edIII on Friday September 20 2019, @03:09AM

    by edIII (791) on Friday September 20 2019, @03:09AM (#896364)

    Perl 6 is a whole new language, and not a successor to Perl 5. Everyone is still using Perl 5 while trying to suss out 6. Repos are not going to drop 5 anytime soon for this reason.

    --
    Technically, lunchtime is at any moment. It's just a wave function.