I. Data Types(Data type):
Perl has four data types: Scalar (variable), Scalar Array (Array), Hash Array (Hash), and References (pointer ), it seems to be rare, but it is more than enough to use it. Especially when writing Perl programs, you do not
one. DataType (data type ):Perl's data types are roughly four: Scalar (variables), Scalar Array (array), hash array (hash), References (pointer), but they seem to be small but more than sufficient. In particular, you can write a Perl program without
Reference
Common Perl Command Line options
Common unix Commands: perl implements sed awk tr nl
Perl, sed, awk, tr, grep, nl, and other common commandsSed
Task
Sed
Perl
Replace12WithTwelve
sed 's/12/twelve/g'
perl -pe '
Summary: This article will detail the installation of EPIC components, the epic editing environment, debugging the operating environment, highlighting how to use EPIC to quickly, easily and accurately debug Perl language programs, including
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
Name Conflict issues
If you use require in SUM2.PM to import a code file SUM1.PM:
#!/usr/bin/env perluse strict;use warnings;use 5.010;require '/perlapp/sum1.pm';sub sum { say "sum2: sum()";}1;
If there is also a sum subroutine in sum1.pm:
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
Windows2000 + Apache + MySql + PHP3 + PHP4 + PERL installation and usage summary www. 1000script. com2002-9-31000script professional script Windows2000 + Apache + MySql + PHP3 + PHP4 + PERL installation and use of summary (a) here must be a lot of
Chapter 2 scalar data
The scalar expression in Perl has a large range, including numbers and characters/strings. And numbers are not similar to floating point numbers in C, single precision, double precision, integer..., as long as the number is 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.