Perl's original designer was Larry Wall (Larry Wall), which was published on December 18, 1987. Perl borrows the features of C, sed, awk, shell scripting, and many other programming languages. Larry Wall Published version 1.0 of the Perl scripting
Enable Perl before compiling Vim;
Use the Perl interface ** Perl-using **: Perl **: Pe *: PE [RL]{cmd}Run the Perl Command{cmd}. The current package is "Main ". : PE [RL] {endpattern}{script}{endpattern}Execute the Perl
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
Call the Perl subroutine in VCAuthor: Source: ZZ published on: Views: 2691 font size: large medium small
As needed, you need to call the Perl subroutine in VC to process the file. You can run it after reading the Perl instruction document for a long
Advantages and disadvantages of Python and Perl, and advantages and disadvantages of pythonperl
I. Comparison between Python and Perl
(1) The initial purpose of designing a language determines the built-in functions of the language:
Perl was
Part II network Programming with Perl
1 Input/output Basics
1.1 Filehandles
Filehandles are the foundation of networked applications. In this section we review the ins and outs of Filehandles. Even if you are a experienced Perl programmer, you
Open the file with the open () function
The common ways to open files are:
Copy Code code as follows:
Open (FH, "Or die "couldn ' t open $filename for reading: $!";
The open () function usually comes with two arguments, the
Open a file using the Open () function
Common methods to open a file are:
Copy codeThe Code is as follows: open (FH, "Or die "Couldn't open $ filename for reading: $! ";
The open () function usually has two parameters. The first is the file handle,
1) is the URL Legal:/^ (http: \/| https :\/\/)? ((? : [A-Za-z0-9] +-[A-Za-z0-9] + | [A-Za-z0-9] +) \.) + ([A-Za-z0-9] + )[\/\? \:]?. * $/
2) When to escape: 1. For example, if you want to use "in" ", then \"; 2. Some special characters
3) database
List of common system functions
Command: PrintSyntax: Print Filehandle LISTDescription: This Filehandle can be seen as a bridge between I (INPUT) and O (OUTPUT). You can use FILEHANDLE to read and write data. STDIN indicates the connection from
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.