From: http://perl.apache.org/docs/general/perl_reference/perl_reference.html Use (), require (), Do (), % INC and @ INC explained
The @ INC Array
@ INCIs a special Perl variable which is the equivalent of the shell'sPathVariable. WhereasPathContains a list of directories to search for executables,@ INCContains a list of directories from which Perl modules and libraries can be loaded.
When you use (), re
EclipseIs a well-known cross-platform free integrated development environment (IDE ). Initially, it was mainly used for Java Development. At present, some people use plug-ins to develop tools in other languages such as C ++, Python, and PHP. Eclipse is only a framework platform, but the support of many plug-ins makes eclipse more flexible. Many software developers develop their own ides Based on Eclipse.As a powerful tool, Eclipse's design philosophy is: Everything is a plug-in. The eclipse core
This article mainly introduces the CPAN use of Perl learning notes, this article explains what is CPAN, Cpan directory role Introduction, CPAN Install Perl module two methods and so on, the need for friends can refer to the
CPAN (Comprehensive Perl Archive Network: A comprehensive Perl archive network) is the central
Perl implements high waterline Algorithms
This article mainly introduces Perl's implementation of high-water line algorithms (methods to solve multi-value comparison problems). From the code examples in this article, you can also learn about array traversal, function writing, function calling, and other knowledge, for more information, see
"High Water Line" algorithm: after a great deal of water, when the
After three days, I finally completed the project. Let's make a summary and learn from history.
When I was sure to use Perl to do this, an old bird in the company saw it and said to me, "Why don't you use C # To write? First, you are skilled and do not need to check the grammar. Second, didn't you go back to the primitive society from the 21st century? I don't have grammar intelligence, but I use Notepad.
(11,22,33,44,55);Print "s1= $s 1, s2= $s 2, s3= $s 3\n";# method 1Sub Sumvar {# Assign the first three element values of the parameter array ($first, $second, $third) accordingly(My $first, my $second, my $third) = @_;# returns its and values. Disadvantage: If it is to find four parameters of the and, still can only give the first three and.Return $first + $second + $third;}# method 2Sub Sumarg {#$_[0] Represents the first element of a parameter array @_. The rest of the analogy.My $first = $_[
Learn to record
Copy Code code as follows:
#!/usr/bin/perl-w
Use strict;
The values of print ' @a @b @c @d are 1 2 3 ', ' \ n ';
My @a = (1..3);
Pop (@a);
The value of print "\@a is the @a,pop to take off the rightmost value of the array \ n";
My @b = (1..3);
Push (@b, ' 4 ');
The value of print "\@b" adds a value to @b,push to the far right of the array. \ n ";
My @c = (1..3);
Shift@c;
1 line PerlSpeaking of Perl today, there is only one line of Perl Program .Various Programming Language Perl is famous for its abnormal ancient spirit. For example, I often write Perl programs that I don't understand.For example, although the program in this document is short, it is estimated that I will be dizzy after
Program scripts in the process of running, always encounter such a problem, we will anticipate some problems and prepare them for processing code, and some unpredictable. The good program should be able to deal with as many of the possible anomalies as possible, this article summarizes some methods to solve these anomalies, of course, Perl in this processing than other similar languages, but it will not be poor there. Before we start, let's take a sto
I. Introduction of the ModuleModule is the Perl package. The Perl object is based on a reference to the data item in the package.When you use object-oriented programming in other languages, you declare a class and then create an object (instance) of that class, and all objects of a particular class behave the same way, determined by the class method, and you can create a class by defining a new class or inh
Translation: fayland
Exit: Chinese Perl Association FPC-perlchina.org
Original Name: Perl XML Quickstart: the Perl XML Interfaces
Chinese name
Author: Kip Hampton
Original article: http://www.xml.com/pub/a/2001/04/18/perlxmlqstart1.html
Output table:
Perlchina reminds you: please protect the copyright of the author and maintain the crystallization of the w
Regular Expression (Regular Expression, abbreviated as regexp, regex or regxp), also known as Regular Expression, Regular Expression or Regular Expression, or Regular Expression, it refers to a single string used to describe or match a series of strings that conform to a certain syntax rule. In many text editors or other tools, regular expressions are usually used to retrieve and/or replace text content that meets a certain pattern. Many programming languages Support string operations using regu
Windows2000 + Apache + MySql + PHP3 + PHP4 + PERL installation and usage summary www. 1000script. com2002-9-31000script professional script Windows2000 + Apache + MySql + PHP3 + PHP4 + PERL installation and use of summary (a) here must be a lot of friends and I like to try new things, especially when you hear that a new version of the software is available, Windows apacheperlmysql will be installed.
Windows
Regular Expression (Regular Expression, abbreviated as regexp, regex or regxp), also known as Regular Expression, Regular Expression or Regular Expression, or Regular Expression, it refers to a single string used to describe or match a series of strings that conform to a certain syntax rule. In many text editors or other tools, regular expressions are usually used to retrieve and/or replace text content that meets a certain pattern. Many programming languages Support string operations using regu
The default Perl debugger is the Perl interpreter itself, plus the graphical interface debugger.Because Telnet is generally used to access the server while developing the program, this article mainly introduces the use of the default command-line debugger.
Start the Perl interpreter with the-D command-line option, such as pe
ByGeorgesTarbouriechWhataboutthisnicepair? MySQL is a relational database system (RDBMS). its homepage is www.mysql.com. It is released by GNUGPL for free. please read the copyright notice. It can work on many platforms, both as a server and a client. In addition to MySQL, there are also some other free soft Perl
By Georges Tarbouriech
What about this nice pair?
MySQL is a relational database system (RDBMS). its homepage is http://www.mysql.com /
CPAN (Comprehensive Perl Archive Network: A comprehensive Perl archive network) is the central repository for any Perl-related stuff. It contains the wisdom gathered from the entire Perl community: Hundreds of Perl modules and scripts, the equivalent of several books, and th
list of common system functions
directive : Printsyntax : print FileHandle LISTDescription : This filehandle can be viewed as a bridge between I/O (OUTPUT), which can be used to make data read and write in the FileHandle. StdIn is the input from which the data is entered, for example, from the keyboard of the computer; StdOut is the output from which the data is being exported, for example, from the computer's screen; STDERR is the data from which the wrong output is being exported, fo
To use Perl in windows, ActivePerl must be installed. Activerperl has two versions: ActivePerl 5.10.0.1003 and ActivePerl 5.8.8.822. You can download and install one of them as needed. URL: http://www.activestate.com/store/download.aspx? Prdguid = 81fbce82-6bd5-49bc-a915-08d58c2648ca after installation, you can check whether Perl-V is successfully installed in cmd.
Per
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.