Is Perl used nowadays?

Asked

Viewed 886 times

11

Well, I see little about Perl and I don’t know much about the language, it is still used nowadays and can replace some other language like PHP or Ruby? I don’t know exactly what Perl does but as I see little about it, and it seemed interesting, I wonder if there’s any reason why it’s not talked about if it’s no longer used or if it’s just not worth it.

  • 2

    The syntax may not be very clear and there are also variants you can iterate an array of the following forms: foreach(1..3) {print $_} and foreach $a (@list){ print "value of a: $a\n";}. Perl is used for text manipulation some 'software' that use it are pgbadger and mrtg. Detail most linux distributions come with it already installed.

1 answer

12


Yes, it is quite used. But not as much as it was in the past. Part because the language is somewhat illegible, as it has become legendary, part because the language did not evolve well, even taking almost decades to come out a version major new that was quite incompatible with the previous version, the result of an ambitious project too much that never worked and several wrong decisions, and part still because it was still in the niche of script that has less appeal today than before, and finally part because other languages have been emerging with better alternatives.

There is still one or other crazy that starts in it. But the bulk of the use is of those who were already used to it. Some adopt it because they take some open source software written on it and continue developing it using it. There are some very good web software written with Perl. Contrary to what many people think it can be used for almost anything, even GUI.

I don’t like those sites that measure popularity of languages but all show that the language still has appeal:

A case that can be very revealing is the usage trend of Github. I don’t like any criteria because it always hides uses that don’t appear publicly. I’m sure people use COBOL more than they think, except that nobody publishes anything about it, the consultation is done in the official documentation and is not spread over the internet generating hype, is all internal project, there is no need to launch books, there is no easy job exchange in this area. But if you want to see in Perl code projects you can still be TOP 15 in active repositories and next to that in pushes. But it suits me Forks, issues and Watchers.

One of the most used languages in Brazil is the xbase. Which is an umbrella for several dialects of a language. And a lot of people don’t know that. So these statistics only show what they can see. Brazil is a different market. For example, Python seems popular in the world, but there is even a joke that Python programmer is always unemployed, which is an obvious exaggeration... he always knows another language to employ it :) Although this changed after I wrote this text.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.