They are all script languages. They are executed directly after being written without compilation.
Perl is used to process the parsing of a large number of texts.
Shell is suitable for system management, such as automatic completion of a series of Linux commands
For Perl, create a text file XX. pl in Linux,
#! /Usr/bin/perl
Print "Hello! \ N ";
Save
Chmod 755 XX. pl
./XX. pl
The Perl syntax is similar to C. However, Perl variables are not as strict as C variables.
Three basic data types:
$ Var, @ array, % hash
What kind of text is processed?
Split, replace, RegEx search, fast read into memory, change form, and so on.
I have not done any complicated text processing. The design I made in that year was to resolve the csdn blog into a data structure such as the title content keyword and then doAlgorithmAnalyze and look at those blogs that are highly respected by everyone.
With Perl, the biggest benefit is that there are a lot of ready-made libraries, are good in http://www.cpan.org/English, these libraries can be used at any time, I have used a lot
Download the library file to your local computer and decompress it to./lib.
Use Lib-name; then you can use it.
From: Our manager