Hi everyone. Today I'll start a new series of esssays introducing the elementary knowledge of Perl, a computer language of which prob Ably many of us never heard. I ' ll try my best to articulate my idea. If There is something your disgree with, please feedback to me and I'll seriously consider your views.I. What's Perl (practical Extraction and report Language)?Just as C + +,
Perl Introduction
Perl is a computer programming language with rich functions. It runs on more than 100 computer platforms and is widely used, from mainframe to portable devices, from rapid prototyping to large-scale scalable development. Perl was first designed by Larry Wall in December 18, 1987. The current version is Perl
First, we recommend a good module download site: http://search.cpan.org
Today in Windows XP installed on the ActivePerl-5.12.2.1202-MSWin32-x86-293621.msi, open the project under eclipse, there are a lot of places to prompt the error is because the local no installation of related modules caused, then download the template from the above website for installation.
Many errors encountered during the installation process are recorded here, hoping to help those who need to perform similar operations
! Preview· the development trend of language must be the combination of static and dynamic, flexible and economic· Perl is obscure, Python is elegant and clear, Ruby is smart, and PHP is simple· Perhaps elegance comes from the attention to detail and norms.· RoR with Ruby, it's like a Nao with a cat, and instantly brings out Java and the. NET Elephant Figure? Questions
What are the characteristics of
Compile and install perl (5.16.1) in CentOS)
First download the latest perl source code package:
[Root @ akinlau/] # wget http://www.cpan.org/src/5.0/perl-5.16.1.tar.gz
Decompress the source package[Root @ akinlau/] # tar-xzf perl-5.16.1.tar.gz
Compile and install. The directory can be customized.
[Root @ akinlau/] # c
Perl as an explanatory language, is very popular with the system administrators, the benefits of not much to say, the disadvantages of many, such as the support of the thread has been not good, so most of the time, we need a number of processes to help us complete the work, gossip less, on the code. #!/usr/bin/perl
# test_proc.pl
# Test Multi Process
# Create by lianming:2009-08-12 use strict;
Use warnings;
transferred from: http://perl.apache.org/docs/general/perl_reference/perl_reference.html
Use (), require (), do (),%inc and @INC explained
The @INC array
@INC is a special Perl variable which is the equivalent of the shell ' s PATH variable. Whereas PATH contains a list of directories to search for executables, @INC contains a list of directories from which Perl Modules and libraries can be loaded.
1. install the Perl environment yuminstallperl *. the command basically installs the perl module. YuminstallcpanCPAN. If you have high requirements on the perl module version and want to use the new version, follow the steps below to install yuminstallperlyuminstallcpan and compile and install it with cpan.
1. install the Per
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... Reply content: laxatives.
First, my personal claim is: python!
Three years of experience in biological information application development an
9 Regular Expressions in PerlThree forms of regular expressionsCommon patterns in regular expressions8 Principles of Regular expressionsRegular expressions are a major feature of the Perl language and a bit of a problem in Perl, but if you can master him well, you can easily use regular expressions to complete the task of string processing, which is more handy in CGI programming. Below we list some of the b
similar to list
For array reference, $ {$ ref} can be abbreviated as $ ref->. For example, you can describe $ {$ ref} [2] to $ ref-> [2]. note $ {ref} [2]} [1] as $ ref-> [2]-> [1], for more information, see $ ref-> [2] [1].
Use UNDEF to destroy a reference: UNDEF $ ref; Perl maintains a reference count for the referenced data. When the count is reduced to 0, the referenced data is destroyed and the memory space is released.
Using references ma
Usage of CPAN in Perl learning notes
This article mainly introduces the usage of CPAN in Perl learning notes. This article describes CPAN, CPAN's directory functions, and CPAN's installation of Perl Module, for more information, see
CPAN (Comprehensive Perl Archive Network: A Comprehensive
Thanks to aka and the author.
Regular Expressions in PerlThree forms of regular expressions
Common patterns in regular expressions
The 8 major principles of regular expressions
Regular expressions are a major feature of the Perl language and a bit of a pain in the Perl program, but if you have a good grasp of him, you can easily use regular expressions to complete the task of string processing, of cours
Perl Overview
Perl was first developed by Larry Wall and is a "glue" language, for example, converting the output of the previous program into the input of the next program. The first version of Perl was released in December 18, 1987 and has been steadily upgraded until Perl 5. Per
Author: gnuhpcSource: http://www.cnblogs.com/gnuhpc/
1. Differences and relationships between Shell and PerlPerl is full of 10 thousand gold oil. It has implemented the functions of various system commands from its own interior, which is much more efficient. Moreover, it has specialized debugging tools that support object-oriented design, both small scripts and large applications are competent.Shell scripts are only applicable to simple system management. In my opinion, shell is like a binder. I
DescriptionWhen you configure some services, you need to install the Perl module. There are two ways to install the Perl module: Manual Installation and automatic installation.The perl–mcpan–e ' Install XXX ' automatically installs the Perl module, the module is not down, most likely the
Install with CPAN
1. My system is Debian. By default, only Perl-base is installed, that is, Perl can be used, but CPAN is not installed. Therefore, Perl is installed in the system.
Aptitude install Perl
Install Perl-modules in addition. You can use the CPAN tool to insta
Reprinted: http://blog.csdn.net/jallin2001/archive/2009/11/13/4808618.aspx
The regular expression character set is often used to extract or exclude Chinese characters from a string. However, this is very troublesome and the effect is not very satisfactory. In fact, Perl has started to use utf8 encoding internally to represent characters starting from 5.6. That is to say, there should be no problem in processing Chinese characters and other language c
Part I Programming Perl 1 Perl Data Types 1.1 Funny Characters
Type
Character
Example is
a name for:
Scalar
$
$cents
An individual value (number or string)
Array
@
@large
A list of values, keyed by number
Hash
%
%interest
A Group of values, keyed by string
Subroutine
how
A callable
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.