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.
transferred from: http://perl.apache.org/docs/general/perl_reference/perl_reference.html
Use (), require (), do (),%inc and @INC explained
The @INC array
@INC is a special Perl variable which is the equivalent of the shell ' s PATH variable.
'), 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,
Symbol tableEach package has its own symbol table, which is a hash table. The keyword is the variable name, file handle, directory handle, and subroutine in the package. The value is typeglob.
Each symbol is assigned a typeglob (* X), which
A Perl application database uses the DBM package configured by itself to create and operate a database, therefore, the DBM package and other similar packages can be considered as a database extension. The other is to use the DBI package or similar
The example uses the oracle11g dbms_scheduler package to execute the perl script to load the data file. The three processes are SET_JOB_ARGUMENT_VALUE and CREATE_JO respectively.
In this example, the oracle 11g dbms_scheduler package is used to
1. do:
1) form:Do 'filename ';Note:Here, single quotes must be added to filename; otherwise, an error will occur;Filename can be any suffix or even has no suffix. Do not ask for pl or pm.
2) do:Do 'filename'First, you must read the filename file.
1. Do:
1) Form:Do ' filename ';DescriptionHere filename needs to add single quotes, otherwise there will be errors;FileName can be any suffix, or even no suffix, does not require PL or PM.
2 Understanding of Do:Do ' filename 'First you need to
Use regular expressions compatible with Perl in PHP
Preface
PHP is widely used in Web background CGI development. it usually produces some results after user data. However, if the user input data is incorrect, a problem may occur, for example, a
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.