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
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. Whereas PATH contains a list of directories to search for executables,
When I ran the Perl script today, I found an error where "recursive. PM" could not be found:
Can't locate file/copy/recursive. PM in @ INC (@ INC contains:/opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level
Begin failed -- Compilation aborted at xxxx. pl line 6.
The solution is to install the missing recursive. PM and run the following command:
Android: antt Lee $ Perl-mcpan-e install "Ins
install Nginx on the server today, report the following error: Can ' t locate extutils/embed.pm in @INC (@INC contains:/USR/LOCAL/LIB64/PERL5, thought it was not loaded Perl, Go to yum Install Perl Perl-dev are installed, or did not solve the problem, finally found a foreigner forum to know how to solve. System: CentOS 6.3 64-bit workaround: Yum install Cpan-yyum install Perl-extutils-cbuilder Perl-extutils
text (default type ), in this way, the access permission is exposed to the client's browser.To further describe this risk, consider a server with/www as the root directory of the website, if db. inc is saved in/www/inc, which has its own URLhttp: // example.org/inc/db.inc (assuming example.org is a host domain name ).
Transferred from: http://blog.csdn.net/mcpang/article/details/7752736For documents that are updated in addition to replacements, only partial updates to one or more documents are required to use the atom's update modifier to efficiently document updates. The update modifier is a special key in theUsed to specify complex operations, such as adding, deleting, or adjusting keys, and possibly manipulating arrays or inline documents.1. $inc----------------
Inc file
[What's inc file]
The. inc file, as its name implies, means include file.
In fact, the file suffix does not matter for file inclusion.
You can include an ASP file or a TXT file.Generally, we use Inc as the suffix because it canThe role of this file.
[Why inc
1) The default Inc is as follows:
Copy Code code as follows:
@INC:
C:/perl/site/lib
C:/perl/lib
2 Set up environment variable PERL5LIB to add to Inc, for example:Set Perl5lib=c:\perllibs
After setting the Perl5lib as below,
Copy Code code as follows:
%env:
perl5lib= "C:\perllibs"
@INC:
C:
Cannot call include/common. inc. you can run php manually written to connect to the database by removing the annotator, but the method I want to call is that I cannot call include/common. inc. php dizzy for help lt ;? Phprequire_once (dirname (_ FIL cannot call include/common. inc. php
Manually writing a connection to the database can be run without the annotato
In assembly languages, it is sometimes convenient to call library functions in C language.
First, give a sample program:
. 386
. Model flat, stdcall
Option Casemap: None
; Include definition
Include stdio. inc
Includelib msvcrt. Lib
. Data
Szmsg DB "calls the puts function of C in the assembler! ", 0
. Code
Start:
Invoke puts, offset szmsg
RET
End start
Is it a bit like the hello, World Program in C.
How does stdio.
pcstitchpro_inst+8+ Chinese Version embroidery systempcstitchpro_inst+9+ Chinese Version embroidery systemCross Stitch PCS9.0 Chinese versionCross Stitch PCS8.0 Chinese versionCross Stitch PCS7.0 Chinese versionSweater Design SystemSweater Process SystemWentaisculpturemulti Drawing Machine Software=====================Design class:Fu Yee Garment Design SystemSuper-ze Garment design SystemChinese Dream Costume Design SystemTuopu Garment CAD Design SystemCAD design system for Aerospace apparelGold
Benefits of INC:
1. LongProgramSegmentation
2. The original file method can still be used in Inc, especially viewdata can be used to retrieve data in MVC. We recommend that you split the file when some functions are completed to streamline the main file.
[What's inc file]The. inc file, as its name implies, means in
For documents that are updated in addition to replacements, only partial updates to one or more documents are required to use the atom's update modifier to efficiently document updates. The update modifier is a special key in theUsed to specify complex operations, such as adding, deleting, or adjusting keys, and possibly manipulating arrays or inline documents.1. $inc--------------------------------------------------------------------------What does t
Search for the filetype. vim file in the vim installation directory
My options are/usr/share/vim/vim72/filetype. vim.
Open it and search for inc
I found the following: 1360-1365 was added later.
From 1347, we can see that the. inc file is used as a format to parse the highlighted syntax.
The following is a function call s: FTinc ()
It means that the first three rows of the file, getline (1). getline (
How can I modify the php suffix to inc code without executing the Apache server? some local code, such as querying database code, is written in the db_msql.inc file and an error is reported on the server. No method found. do you need to set it.
Reply to discussion (solution)
Php programInclude 'DB _ mysql. Inc ';
Check the resolution settings of your server. if there is a suffix wi
For documents that are updated in addition to replacements, only partial updates to one or more documents are required to use the atom's update modifier to efficiently document updates. The update modifier is a special key in theUsed to specify complex operations, such as adding, deleting, or adjusting keys, and possibly manipulating arrays or inline documents.
1. $inc--------------------------------------------------------------------------What does
this type of file, it returns (the default type) as plain text, so that access is exposed to the client's browser.
To further illustrate this risk, consider a server that takes/www as the root of the Web site, and if Db.inc is saved in/www/inc, it has a self urlhttp://example.org/inc/db.inc ( Suppose example.org is the host domain name. By accessing the URL, you
Recently in learning NASM assembly language, text editor with the notepad++. Assembly source code with. nas as the extension, notepad++ cannot be highlighted correctly. Open the menu item "Settings, language formatting", find "Assembly" in the "language" list, and add "nas" to "Custom extension:". Well, the NAS class assembler source code can be syntax-highlighted.But later put the extension. inc file is used as a header file for NASM assembly languag
File name: date. inc. php3 before using these two functions, you must first convert the date or date to the timestamp type. For example: $ todaymktime (0, 0, 0, date (m), date (d), date (Y )); * *** simulate the dateadd function in sqlserver ******* $ part Type: string value range: year, month, day, hour, min, sec: SQL Server
// File name: date. inc. php3
// Before using these two functions, convert the dat
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.