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: 0) by Anonymous Coward on Friday September 20 2019, @08:41PM (1 child)

    by Anonymous Coward on Friday September 20 2019, @08:41PM (#896639)

    Don't they run in reverse sequence for all shell redirection? If you run 'echo "test" | less' , less starts first, opening the fd that echo then prints out to.

  • (Score: 2) by The Mighty Buzzard on Friday September 20 2019, @08:57PM

    by The Mighty Buzzard (18) Subscriber Badge <themightybuzzard@proton.me> on Friday September 20 2019, @08:57PM (#896645) Homepage Journal

    For a value of "run" meaning "start up and then do nothing at all until the other thing we're about to start sends you some data" you mean?

    --
    My rights don't end where your fear begins.