Document directory
Introduction
The difference between ASCII and binary files?
Example of ASCII files
Editing binary files
Viewing binary files
Writing binary files, part 2
Summary
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
Most statement expressions in the Perl language are followed by a semicolon, separating the different Perl statements.The Perl interpreter can compile and run these two actions at a time. Perl uses a pair of anti-quotes "'" to indicate running
Process processing functions
1. Process Start functionFunction name EvalCall Syntax eval (string)The commentary considers a string as a Perl statement execution.When executed correctly, the system variable $@ is an empty string, and if there is an
Chapter 5 using Perl for CGIProgramming• This chapter introduces the commonGateway Interface (CGI) and discussesHow Perl can be used as a CGIProgramming Language. It begins withOverview of CGI, how CGI programs areLiked to web clients, and how
Perl Common function set 2
I. Process processing functions1. Process startup FunctionFunction Name evalCall the syntax eval_r (string)The description regards string as a Perl statement execution.After the command is correctly executed, the
I. Process processing functions
1. Process startup Function
Function Name eval
Call the syntax eval (string)
Describe the stringPerlStatement execution.
After the command is correctly executed, the system variable $ @ is an empty string. If an error
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
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
1. $ position =Index(String, substring, skipchars );
This function returns the position of the substring in the string. If the substring does not exist,-1 is returned. The skipchars parameter is an optional parameter, indicating the number of
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.