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
Perl|window first step, prepare the required files.
Setting up PHP Local development for Windows is actually very simple, but the documentation for the use of these software is very difficult to understand and is in English. The following is a combination of experience, the specific installation methods, step-by-step elaboration.
Here are the Apche 1.3.11, PHP 4.04, Perl 5.001, and the MySQL 3.22.34, which
This is notes from reading the "Object Oriented Perl programming ".
Elements of the @ _ array are special in that they are not copies of the actual arguments of the function call. rather they are aliases for those arguments. that means that if values are assigned to $ _ [0], $ _ [1], $ _ [2], Etc ., each value is actually assigned to the corresponding argu-ment with which the current subroutine was invoked.
sub cyclic_incr{ $_[0] = ($_[0]+1) % 10;} p
Transferred from: http://www.mike.org.cn/blog/index.php?load=readid=643 http://www.cnblogs.com/itech/archive/2009/08/10/ 1542832.htmlPerl has added the concept of modules to the fifth edition to provide the ability to object-oriented programming. This is a milestone in the development of the Perl language. Since then, the vast majority of free software enthusiasts have developed a large number of powerful, ingenious
'), System, and exec in Perl
In Perl, the check mark (''), system, and exec are used to execute the command order. This article will show us how they are used, approached, and differentiated.
I. utilization methods
1. check mark ('')
First of all, we have a number order Input operator, also known as the Anti-hook operator, because it looks like this:
$ Info = 'finger $ user ';
A variable is used to replac
Differences from Perl PCRE function PCRE Patterns PHP manual Schema Syntax
(No version information available, might only being in SVN)
Schema syntax-syntax explanation for Perl compatible regular expressions
The PCRE library is a set of functions that implement regular expression pattern matching with the same syntax and semantics as Perl 5, but there are a
Preface:
Definition:The concept of singular and plural: Scalar is a single thing. perl uses scalar (the simplest data type in perl) to call a single thing. For most scalar values, it is either a number or a string composed of characters (perl does not have the concept of a single character, and a string is a single thing as a whole ).
Association:The scalar can b
Perl is generally considered to be the abbreviation for practical extraction and report Language, a language evolved from C and sed, awk, Unix shell, and other languages. It was originally invented and implemented by the linguist Larry Wall. Perl is a language that is optimized for scanning arbitrary text files, getting information from these text files, and printing reports based on that information. It is
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
24 hours of Perl programming course questionsI. multiple choice questions1. Which of the following strings is incorrectly defined ()(1) 'Thank you'(2 )""(3) "A" friend "of yours"(4) "A/" friend/"of yours"2. Which of the following statements is incorrect ()(1) $ _ = 'Hello world ';(2) $ A = 'Hello world ';(3) My $ B, $ A = 'Hello world ';(4) My ($ A, $ B) = (0, 'Hello World ');3. To make the following program run properly, the while expression should b
to search for substrings in a text string is a typical example in a data structure textbook (the exam is also frequently tested) and meets the simple requirements of the algorithm. At the same time, in order to make the environment of each program the same, I have to restart the machine once every test to avoid the impact of cache.
Preparation
The competition should be fair. First, the hardware platform should be unified. I found a pretty good machine (server): Two piii800, 1 GB memory. OS: Win
The system has three Perl
1. Perl,/usr/bin/perl Perl-v-> 5.8.8
2. the built-in company PERL/opt/vrtsperl/bin/perl 5.10.0
3. You need to run the PERL/sortdir/advance/
If you think Perl is just a tool for web developers, you need to rethink it now. It can also be part of your embedded programming tool.
If you think Perl is just a tool for web developers, you need to rethink it now. It can also be part of your embedded programming tool.
Perl is an advanced instruction language derived from C, sed, awk, and other programming lang
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
it, but I want to ask questions from others. If you encounter a problem, try to solve it first. If you feel that the knowledge span is large and cannot be solved within a short period of time, consult with others. Do not waste too much time on a problem.
Use Perl online help
Perl comes with a large amount of reference materials, which can be said to be more comprehensive and detailed than any
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.