In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces you how to parse the Perl programming language, the content is very detailed, interested friends can refer to, hope to be helpful to you.
Perl was originally designed by Larry Wall (LarryWall), who released it on December 18, 1987. Perl is commonly referred to as the "practical report extraction language" (PracticalExtractionandReportLanguage), although it is sometimes called the "morbid eclectic spam lister" (PathologicallyEclecticRubbishLister).
Brief introduction of Perl programming language
Perl basic Information
Perl was originally designed by Larry Wall (LarryWall), who released it on December 18, 1987. Perl borrows features from C, sed, awk, shellscripting, and many other programming languages.
Perl is commonly referred to as the "practical report extraction language" (PracticalExtractionandReportLanguage), although it is sometimes called the "morbid eclectic spam lister" (PathologicallyEclecticRubbishLister). It's a term, not just an acronym. LarryWall, the creator of Perl, came up with *, but soon expanded to a second. That's why "Perl" doesn't have all the letters capitalized. There's no need to argue about which is right. Larry agrees with both.
You may also see "perl". All the letters are lowercase. In general, "Perl", with uppercase P, refers to the language itself, while "perl", lowercase p, refers to the interpreter on which the program runs.
The official website of Perl is http://www.perl.org.
Characteristics of Perl
The interpreter of Perl is open source free software, so you don't have to worry about the cost of using Perl. Perl can run on most operating systems and can be easily migrated to different operating systems.
Perl is a language that can accomplish tasks. From the beginning, Perl has been designed as a language that simplifies simple tasks without losing the ability to deal with difficult problems. It can easily manipulate numbers, text, files and directories, computers and networks, especially program languages. The language should be easy to run external programs and scan the output of those programs for things of interest. And it should also be easy to hand over the things you are interested in to other programs for special processing. Of course, the language should also be easily portable to compile and run on any modern operating system.
Basic syntax of Perl
Variable definition, starting with a $sign, such as: $num=1
Array definition, starting with @, for example: @ array= (1, 2, 3)
Array elements call $array [index], where index represents the array subscript. As in the example above, the value of $array [0] is 1.
Hash definition, starting with%, such as:% hash= ("a", 1, "b", 2)
The hash calls% hash, where keys represents the key value and is often represented by a string, such as "a", "b" in the above example, and vaules is the corresponding value of keys, such as 1d2. The value of $hash {"b"} is 2.
On how to parse the Perl programming language to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.