Perl, as a scripting language, can generate and execute code in real time. This feature can defer the compilation of code to the runtime, so it is called "Dynamic Code". In addition, Perl also provides exception handling mechanisms like Java and C +
Die Function
18.4 handle errors
In many cases, system calls may fail. For example, you can try to open a non-existing file, delete a directory that still contains the file, or
Try to read files without read permission. In the previous example, we
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
Perl + fastcgi + nginx Build
Nginx + fastcgi is the most popular environment in PHP, then Perl will also have fastcgi it, of course, Today to build the next Nginx Perl fastcgi. Performance is no less than PHP, but now the popularity of Web programs
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
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.
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.
This is notes from reading the "Object Oriented Perl programming ".
Elements of the @ _ array are special in that they are not copies of the actual arguments of the function call. rather they are aliases for those arguments. that means that if
[File handle]
$| If Non-zero, force clear buffer after write or print operation on the currently selected file$% the current page number of the currently selected file handle$= the current page length of the currently selected file handle$-the
ObjectiveTake over predecessors of the project, no contact, installation, use of Perl and dbd::oracle, there is no relevant documentation, blankly at a loss ~ ~. At the beginning of the problem, thinking about the rapid resolution, directly on
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.