ObjectivePHPBy a large number ofApplicationInWebThe background CGIDevelopment, usually in a userDataData, but if the user entered the data is incorrect, there will be problems, such as someone's birthday is "February 30!" How should it be like to
[File handle]
$| If Non-zero, force clear buffer after write or print operation on the currently selected file$% the current page number of the currently selected file handle$= the current page length of the currently selected file handle$-the
We often use a program in Linux to add parameters, and now it is much more powerful to understand the module Getopt::long in Perl about control parameters than to use @ARGV arrays directly. I think you know there are two different types of
This article focuses on the concept of Perl variables in the Perl syntax, where Perl variables are divided into scalar variables, array variables, and relational array variable 3 classes. Perl's variables are sensitive to size, such as: An,an,an is
Which platforms have Perl on? Where are we going to find them?
The standard release of Perl (maintained by the Perl Development Group) is distributed only in the original code form. You can obtain it at http://www.perl.com/cpan/src/latest.tar.gz.
The online environment at work has a lot of Perl command-line commands like a sentence, and today concludes some of the things that Perl command line programming.
- e The string followed by the quotation marks is the command to execute:
Copy
One, what is Perl Hash
A hash is a data structure, and a similar array, that can be stored in or retrieved from a value. However, unlike arrays, the index is not a number, but a name. That is, the index (here, we call it key) is not a number but an
A brief summary:Pear: A written comparison specification, a foreign popular Toolbox code setpecl:php expansion pack, but does not belong to PHP basic extension scopePerl: A script-level language older than PHP that PHP borrowed from his regular
Shell is the basic operation of Linux, it must be learned. To learn a shell is to learn Linux commands.
Perl has a strong regular expression support, very tough for text processing, playing Linux has to learn.
python acts as an object-oriented,
Refer to the code found on the Internet, did not expect the difference is so big, there is a project to 50GB~70GB code, 260 keywords to do scanning, need a relatively fast solution. [[email protected] stat]$ wc-l 1 234033 1[[email protected] stat]$
Reference: http://hi.baidu.com/pengduo66/item/abfe454f81cdb7e5a4c06675Scenario Description: Choose to minimize the installation of the Linux operating system without the Perl tools installed. Because of network failure, you cannot install Perl from
Use in common to perl,python,awk,r, although Java,c,c++,vala also learned but do not like, you say how to do.It seems the life of the script.Perl@rray = split/pattern/, STRING, LIMITYou can see that split consists of 2 parts (String,pattern) and an
Perl is a very useful language that can be used to do a lot of things. However, it is only a language, mastering Perl, you just mastered a small piece of knowledge in the field of computer. Before you learn Perl, be clear about your learning
14th Chapter PERL5 Packages and modulesby FlamephoenixFirst, Require function1. Require functions and sub-Libraries2. Specify the Perl version with requireSecond, the package1, the definition of the package2, switch between the package3. Main
1. Install the Perl module to a non-custom directory
How do I get makemaker and module: build to install to the same place? Module: build, as of 0.28, supports two ways to install to the same location as makemaker.1) Use install_base/--
Original: http://levi.cg.am /? Cat= 246
! Preview
· The development trend of language must be dynamic and dynamic combination and flexible
· Perl is concise and obscure, python is elegant and clear, Ruby is exquisite and smart, and PHP is concise
Function Name
Pack
Call syntax
Formatstr = pack (packformat, list );
Explanation
Converts a list or array to a simple variable in the format used by programming languages such as the
Syntax
There are only two ways to create a 'quot.
Create reference
Create Rule 1If you add a '/' sign before a variable, you will get the 'quota' of the variable '.
$ Aref = // @ array; # $ Aref saves the 'quot' pointing to @ Array'$ Href =/% hash;
Reference
Common Perl Command Line options
Common unix Commands: perl implements sed awk tr nl
Perl, sed, awk, tr, grep, nl, and other common commandsSed
Task
Sed
Perl
Replace12WithTwelve
sed 's/12/twelve/g'
perl -pe '
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.