成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Could Perl 5.36 Lead to the Resurgence of This Once-dominant Programming Language?

原創 精選
Techplur
On May 28, 2022, Perl 5.36 was released with a range of convenient features. Perl was once one of the most popular programming languages for web development worldwide; however, there is a broad divisi

On May 28, 2022, Perl 5.36 was released with a range of convenient features. Perl was once one of the most popular programming languages for web development worldwide; however, there is a broad division among developers today regarding it.

From the TIOBE Index for June 2022, it is apparent that Perl is no longer a popular programming language. Perl appears on the top 20 list, but it is ranked 17th, and very few people will mention it when discussing the best programming languages.

(Source: TIOBE Index for June 2022)


This is one of the most significant upgrades since 5.34, which may effectively enhance the developer experience.


Below are the core enhancements of Perl 5.36.0 (??https://perldoc.perl.org/5.36.0/perldelta??)

 c



In light of these enhancements, is it likely that Perl will regain its leadership position.

Or, will it fade away in the near future?



Despite Perl's 30-year history, version 7 is still some way off

Perl, or the Practical Extraction and Report Language, was created by Larry Wall and released on December 18, 1987. It has become widely used for many tasks, including web programming, web development, system administration, GUI design, and more.

With features similar to those found in C, sed, awk, and shell scripts, Perl has one noteworthy advantage—its internal integration of regular expressions and the immense third-party library CPAN.

The 2.0 version of Perl was released in June 1988, and the 3.0 and 4.0 versions in 1989 and 1991, respectively. A substantial update to Perl was released in 1994, becoming the most widely used version of this programming language.

In 2015, Perl 6 (renamed Raku in 2019) was officially released on Christmas Day after having been in development for over a decade. In the name of the Perl 6 mascot, Camelia, Larry Wall announced the production availability of Perl 6. He also stressed that Perl was still a young language, meaning it was somewhat mature but had shortcomings.

Over the past four decades, Perl has experienced many ups and downs. Even though the final version 5.36.0 is "just around the corner," the much-anticipated Perl 7 remains a long way off, according to the Perl Steering Council.


Perl: There's more than one way to do it

In general, Perl is a natural and smart language that interprets execution in context and consists of a large number of omitted writes. As its programming motto goes, "There's More Than One Way to Do It."

When sed, awk, or sh are insufficient to solve the problem, or when you wish to run faster without having to write in C, Perl will save the day. It is suitable for text processing and system management, but it is less effective when dealing with real-time embedded system programming, underlying OS development (e.g., driver development), multi-thread shared memory applications, or other larger applications.

A dynamic language, Perl has an array of powerful and versatile features. It borrows syntax rules from many languages, like C/C++, Basic, and Pascal, resulting in a large number of redundant syntax constructs. Maybe that is why it is classified as "write-only"—despite the fact that it is free to write, it can produce unexpected results without reporting any errors. Furthermore, its code for realizing a given function is lengthy compared with other languages, which is a significant problem for programmers.

Today, more and more people are comfortable writing server scripts in Perl. In contrast to most web programming languages (PHP and JavaScript), Perl is executable directly. Each line of the source code is interpreted into machine code before execution, eliminating the need to compile the code.

One valuable feature of Perl is its ability to execute code and subroutines written in other languages. Furthermore, it supports a wide variety of processors, so developers can choose from a wide selection of libraries and modules. It is also suitable for database management, supporting SQL statements, and processing returned results.

Moreover, Perl has only three types of data—scalar, array, and hash. Scalar data is the simplest data type and consists of a single number, integer, text, or reference. It is often referred to as an array when a sequence of scalars is handled differently. A hash is a type of data that combines values and keys in a specific manner. In Perl, a value-key is represented as a scalar, while a text string represents a type.


Pros and Cons of Perl

Pros:

Regular expression: Text manipulation is one of Perl's most powerful capabilities. Regular expressions are found in many languages, but Perl is generally considered their inventor. Moreover, it is built-in, so no additional modules are required.

Flexibility: Perl supports three basic types of variables: scalars, arrays, and hashes. References can be used without worrying about memory leaks or unexpected computer shutdowns.

Unicode supported (vs. AWK or C).

Portability: Perl works well on the Web, UNIX, and even Windows. This is not a single tool but rather a jack-of-all-trades.

CPAN: You can find everything you need here. It is very easy to install modules through CPAN and is as good as apt-get in managing dependencies.


Cons:

As a dynamically typed language, it is not very reliable.

Since Perl is a natural language, Perl code may seem obscure and elusive.

As a smart language, it interprets the programmer's meaning based on context. There is, however, the possibility that its guesses are incorrect and may cause further problems.It is not very elegant and has multiple ways of doing the same thing, which can be difficult for programmers.

Perl's flexible data structure usually leads to unsatisfactory processing performance (relative to C/C++), and sometimes needs to be rewritten in another language to achieve high performance.

Perl's learning curve is shallow (easy to learn) and long (there's a lot you can do if you want). Simply read and follow the tutorial book "Learning Perl," and you will be able to write simple Perl programs. However, mastering Perl in-depth, such as its complex data structures, object-oriented programming, and multi-threaded programming, is not so easy without a great deal of time and effort.


Does Perl intend to be discarded?

A similar question appeared over ten years ago; however, Perl is still in use today. In addition to text processing, data mining, operations, bioinformatics, and many other fields, Perl is also used in many other Internet applications.

While Perl itself is an "old" language, it has a vibrant and productive community, and its value can be clearly seen in the CPAN library. A number of programmers may agree that CPAN is one of the most comprehensive and extensive libraries available for programming languages. CPAN provides access to thousands of modules and frameworks that can be used to achieve your desired outcomes.

Are you looking for a web server? HTTP :: Server is available. Do you require a standalone database? You can use Muldis :: DB. Whatever your needs, you can usually find several suitable modules and choose the one that suits your application the most.

Healthy competition among Ruby, Python, and other competitors is beneficial to Perl. Any new feature that other languages receive, the Perl community rewrites for it. For example, when Ruby was soaring on the success of Rails, Perl had its Dancer, which in many ways was superior to Rails.

No, Perl is not dying, nor is it disappearing anywhere. It doesn't get a lot of media attention, and few people are aware of its existence. But, whatever.

While Perl may not be suitable for application or CGI Web development, it is still a handy scripting language for data mining, Linux administration, and other process-oriented text processing analysis. It is also likely that Perl will remain in use for some time to come, as many auto-test tools are written in this programming language. The only downside is that Perl CGI development is fading out.


Conclusion

Perl still has a lot of value and potential; however, we must acknowledge that it is currently experiencing some difficulties. As the language becomes more accessible with modern features, modernizing it without compromising backward compatibility might unlock more potential.

責任編輯:龐桂玉 來源: 51CTO
相關推薦

2014-07-29 10:49:23

Swift

2022-05-27 10:00:00

Perl 語言Perl 指導委員會Perl 7

2010-07-21 14:18:27

Perl函數

2010-07-20 14:41:55

Perl語法

2010-07-20 16:05:07

Perl包

2010-07-19 10:01:57

Perl函數

2010-07-21 13:27:06

Perl模式匹配

2010-07-13 16:34:34

Perl 哈希表

2010-07-21 09:50:51

Perl調試

2010-07-13 09:50:55

Perl數組

2010-07-13 12:50:47

Perl變量

2010-07-16 10:44:54

Perl數組

2010-07-21 14:08:28

Perl命令行

2009-06-18 09:47:50

2010-07-13 13:27:13

Perl復雜數據結構

2010-07-13 16:20:21

Perl 哈希表

2010-07-20 15:02:20

Perl數組

2010-07-13 14:26:11

Perl數組

2010-07-19 09:52:04

Perl標量

2010-07-20 13:44:02

Perl方法
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 在线不卡视频 | 精品国产一区探花在线观看 | 爽爽免费视频 | 久久一区| 一区二区三区电影在线观看 | 日本在线免费观看 | 午夜精品久久久久久久久久久久久 | 午夜爱爱毛片xxxx视频免费看 | 久久国产区 | 91影库| 亚洲女优在线播放 | 久久久久久久一区 | 观看av| 久久国产区| 亚洲一区二区三区在线免费 | 久久天堂 | 国产一区二区三区免费观看在线 | 黄色一级毛片 | 99re在线视频免费观看 | 欧美精品综合 | 国产精品久久久久久52avav | 欧美八区 | 亚洲国产精品一区二区第一页 | 91精品国产91久久久久久丝袜 | 国产不卡一区 | 国产精品高清在线 | 在线一区二区三区 | 亚洲天堂av一区 | 在线黄 | 久久精品这里精品 | 国产人成精品一区二区三 | 久久精品国产精品青草 | 国产精品一区二区久久久久 | 九九导航 | 国产视频精品视频 | 99精品免费久久久久久久久日本 | 亚洲国产一区二区三区在线观看 | 日韩精品一区二区三区视频播放 | 亚洲高清在线免费观看 | 日韩一级电影免费观看 | 91视频免费黄|