Thursday, February 7, 2019
Perl: A Popular Scripting Language :: Computers
Perl A Popular Scripting LanguagePerl was created under unsung circumstances, it was never intended to be a widely used common language but the features it provided caused many programmers to crave for more. Larry Wall initially created Perl to arrive reports from a Usenet-news-like hierarchy of files for a bug-reporting system. 1 Apparentlyawk and sed could not treat the task. Larry decided to fix this problem with a C application in a flash kat oncen as Perl, Practical Extraction and Report Language. Perl grew at the like rate as the UNIX operating system. It became portable as new features were added. Perl now has extensive documentation available in disparate man pages. Perl is growth now just as every widely used program language.Perl is known for its management of selective information. It derriere manipulate files and directories and manage tasks. It can easy analyze results from other applications including sorting large files that would take a tender a long time. Perl is generally used for its scripting abilities. string up manipulation is lots smoother using Perl than using imperative languages like Java and C. The selective information representation of numeric data in Perl is a little different than otherlanguages. All numeric data is a double clearcutness floating point value in Perl. For this reason it would not be a good idea to solve complex mathematical problems with Perl because it would be much slower than using a regular imperative language. String set are sequences of characters as in most other languages. The conventionalism for scalar variable identifiers is a dollar sign followed by a character followed by a sequence of underscores and alphanumeric values. Scalar variables can contain a single value representing a number, string, or reference. For showcase $a = hello is just as valid as $b1 = 3.4. Perl has many built in functions and it allows for user defined subprograms. Subprograms are an example of data abstraction. To define a subprogram you use the convention if sub subname statements . To tump over parameters you call subname(arg1, arg2). To access the parameters is a little different, you must get the values from the temporary _ array. The _ array is private to the subprogram. Subprograms can return variables and can consecrate their own private variables. Perl can mystify input from files and keyboards and can have output to files and screens.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment