Writing Popular Perl Software

Recently https://perl.com published a list of top keywords for their googsearch:

https://github.com/tpf/perldotcom/projects

Having this information is like asking a sentient billion human brain AI the question, "perl"?

The answer was nine nouns in precedential order:

$ perl? $ sql linux python mysql cgi regex foreach cpan download $ _

The world needs Perl to:

  1. Interact with SQL databases.
  2. Work with Linux.
  3. Do something (with, about, for, etc) Python.
  4. Interact with MySQL databases.
  5. Provide the Common Gateway Interface.
  6. Match regular expressions.
  7. Process each item in a list.
  8. Expand through modules.
  9. Download!

From https://en.wikipedia.org/wiki/Google_data_centers#Production_hardware

"As of 2014, Google used a heavily customized version of Debian (GNU/Linux). They migrated from a Red Hat-based system incrementally in 2013."

From https://wiki.debian.org/Perl

"Perl is just another high level programming language that supports object-oriented, procedural and/or functional programming.

Lot of Debian and GNU tools, use Perl. Lot of system core components, packaging internals and other critical points, rely on Perl versions.

If you've some unmet requirements about the Perl interpreter version, TIMTOWTDI

(There Is More Than One Way To Do It)

2018-10-20 Athanasius removed code tags, added paragraph tags, linkified links, etc.

Replies are listed 'Best First'.
Re: Writing Popular Perl Software
by Your Mother (Archbishop) on Oct 08, 2018 at 01:30 UTC

    This is fairly backward.

    The world needs Perl to:

    That’s what the world already knows Perl to do; where Perl shines. What would help Perl would be to take on things that are not already documented and coded in abundance.

    More articles and code are always great. Focusing on the areas where ground is going to other languages would be far better.

      "Focusing on the areas where ground is going to other languages would be far better."

      Any suggestions or ideas? I'm nearing year three of coding for the Raspberry Pi so Perl Hackers can have an alternative to Python, and have a few weeks before my new sensors and integrated circuits arrive for more of that fun. In the meantime, I'm looking for something to do instead of glaring at a screen aimlessly ;)

        Medical, AWS, GCP, Bitcoin, online trading, continuous integration, various testing… That said, you are completely on point already. :P

      It could have been written:
        The world uses Perl to:
      
      And mean the same thing, in English. Why does the world "use" Perl for these things? Because they "need" these things and therefore Perl. So give them more of what they want and use and need! There's no dichotomy between cultivating the good and improving the less good. Perl has made itself essential to things like Debian, SQL and Google! Now the Python people need vital tools written in Perl that make their lives more bearable. Stuff like this:
      2007
      pages.cs.wisc.edu/~plonka/fincore/
      
      2008
      www.percona.com/blog/2008/03/18/the-tool-ive-been-waiting-for-years/
      
      2018
      medium.com/searce/how-max-prepared-stmt-count-bring-down-the-production-mysql-system-6ca28e577663
      
        It could have been written: "The world uses Perl to:" And mean the same thing, in English.
        Not really, no. It's rather the opposite. Saying "X needs to Y" implies quite strongly that X does not currently do Y.

        In search of a concrete, real-world example, I just ran a search on "the world needs to" and my first hit is an article headlined "the world needs to store billions of tons of carbon". The actual article is, unfortunately, paywalled, so I can't readily read the full content, but I can pretty much guarantee you that the article isn't talking about how wonderful it is that billions of tons of carbon are being stored successfully and effectively.

        A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Writing Popular Perl Software
by zentara (Cardinal) on Oct 08, 2018 at 14:08 UTC
    The world needs Perl to: 1. Interact with SQL databases. 2. Work with Linux. 3. Do something (with, about, for, etc) Python. 4. Interact with MySQL databases. 5. Provide the Common Gateway Interface. 6. Match regular expressions. 7. Process each item in a list. 8. Expand through modules. 9. Download!

    It sounds like you want a Perl version of a PhP based LAMP stack. Or something to compete with other Content Management Systems like Drupal or Wordpress.

    I think the Perl community decided a long time ago to NOT compete with PhP, because PhP was specifically designed for the Common Gateway Interface, making it unsuitable for the general purpose work which Perl excels at.


    I'm not really a human, but I play one on earth. ..... an animated JAPH
      > general purpose work which Perl excels at.

      my point of view is that Perl is loosing against specialised competitors in various fields, because many consider the elements from other domains as "messy" at best.

      This could probably be solved by specializing pragmas/bundles like use shell or use web

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        This could probably be solved by specializing pragmas/bundles like use shell or use web

        Very interesting, please elaborate.

      It sounds like you want a Perl version of

      It's not about me, it's about why google sends people to perl.com: because they asked for something specific.

      PHP is a Perl template engine gone rogue.

      Free software communities should probably not ignore challenges from less free software (or "free" software with millions of dollars of venture capital behind it, like PHP).

      Ignore all the marketing ploys now known as conventional wisdom and give people what they need and want from Perl.

      JUST DO IT!™

Re: Writing Popular Perl Software
by Anonymous Monk on Oct 09, 2018 at 14:05 UTC
    7. Process each item in a list.

    Ever notice that everything is a list?

    
    Perl foreach loops
    Sep 23, 2018 by brian d foy
    www.perl.com/article/perl-foreach-loops/