answersLogoWhite

0


Best Answer

Perl is a scripting language. It is not, however, a shell scripting language because Perl is not a shell program. A shell program is one that usually interacts with a user and provides certain user interface abilities. Perl was not designed for that purpose.

You can certainly program a shell to operate in various fashions. A shell script is usually provided for redundant tasks and series of commands, unattended operation, and so forth.

Perl is a "kitchen sink" of ways to interact with data, databases, networks, and so forth. It is a great language for manipulating text in various ways.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between perl scripting and shell scripting?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between pl and plx in perl scripting language?

The same reason .doc became .docx.


Can CGI scripting be done in notepad?

Yes. CGI scripting can be done in notepad, since CGI scripting is just the scripting of normal programming languages, like Python and Perl.


Where can you get Perl Scripting Training?

Perl programming or Perl Scripting Training is currently being offered by SybaseTeam at reasonable charges.You many email Training@SybaseTeam.Com orcall - US: 201-298-3267 India:+91 964 000 4747for more details.SybaseTeam also offersSybase ASE DBA TrainingSybase developer trainingSybase Performance and Tuning TrainingSybase Replication server TrainingSybase IQ TrainingUnix basic and advanced Shell scripting TrainingPerl Programming TrainingThanks,Training DepartmentSybaseTeam - Sybase Technical support,Consulting, Training and Placement


How use perl in bioinformatics?

Perl is a powerful and flexible scripting programming language, making it very helpful for manipulating data in bioinformatics research.


List some alternate web scripting languages to PHP?

Ruby, Python, Perl


Give two example of server side scripting language?

PHP Perl ASP


How do you read from file in unix shell script?

You will have to be more specific about what you intend to do. In general, a shell script by itself does not read file information and then do something with it. There may be calls to other scripting languages such as awk, perl, python, etc., that will actually read the information and process the data.


What has the author Harlan A Carvey written?

Harlan A. Carvey has written: 'Perl scripting for Windows security' -- subject(s): Perl (Computer program language), Computer security


How do you use arrays in unix?

Unix itself does not use arrays. However, some shell scripting languages such as bash or ksh have simple rudimentary uses of a singly dimensioned array. If you want anything multi-dimensional or special use such as associative arrays, then you need a scripting language such as perl, or awk or python, etc.


What are the differences between Perl and PHP?

PHP and perl are different kinds of scripting languages. Ultimately they serve the same end and can do the same things; for all practical purposes, one is not necessarily better than the other. However, for a number of reasons having to do with efficiency and practicality, most Web developers these days use PHP. In earlier times, perl was more common.


What are some facts about Perl?

Perl is a programming language. Perl is an interpreted programming language. Perl is very useful for shell scripts, application programming, and web applications. Perl is quite easy to learn. Perl can be, but does not have to be, object-oriented. Perl was created by Larry Wall. Perl has probably the best implementation of regular expressions in existence.


What is perl programming?

Perl is a programming language developed by Larry Wall in the late 1980s to assist him in administering UNIX operating system environments. Perl has since been ported to other operating systems such as Microsoft Windows and Linux. Perl is widely renowned for its ease of use, power and functionality. Perl is loosely based on the powerful 'C' programming language developed by Dennis Ritchie of Bell Labs in the early 1970s. Perl is used today for a wide variety of tasks including CGI programming, system administration and is also a favorite of both computer security professionals and so called 'hackers'. Shell scripting is associated with the use of a variety of 'shells' such as the 'Bourne Shell' developed by Stephen Bourne, also of Bell Labs, the 'Korn Shell' developed by David Korn, again while at Bell Labs and other widely used shells such as the ubiquitous 'BASH' shell (Bourne Again SHell) included with virtually every open source operating system such as Linux, OpenBSD, FreeBSD and some closed source ones. Shell scripting has, to some degree, more recently come to be associated with 'batch/cmd file' programming in Windows environments. A 'Bourne Shell' script will typically begin with the line: #!/bin/sh while a 'Perl' script may begin with the line: #!/usr/bin/perl Perl has remarkably high performance for a scripting language that is compiled at runtime. In benchmarks studies, Perl has often been found to run at approximately 90% of the speed of the very high performance C programming language. Perl supports networking, multi-tasking and other features expected of a modern programming language and also has a considerable body of Unix/Linux administration functions built in (in keeping with it's original focus of being a scripting language designed by a Unix Systems Administrator for Unix Systems Administrators - perhaps most often meaning Linux today, though FreeBSD, OpenBSD and Mac OSX [to name but a few as Perl is ubiquitous and any list of systems supported would be FAR too long to be enumerated here] are equally well supported). I have written Perl scripts that run in daemon mode for instance, and launch hundreds of child processes performing many varied tasks including network clients and servers. Perl is Open Source and the CPAN (Comprehensive Perl Archive Network) body of contributed code and modules is so extensive it's enumeration would be a task nearly encyclopedic in scope - FAR TOO LARGE EVEN FOR AN ONLINE ENCYCLOPEDIA SUCH AS WIKIPEDIA. In early 2013 if I'm not mistaken, the ISS (International Space Station) switched from Windows to Linux for the announced purpose of increased reliability and stability encompassing dozens of computers - each of which comes equipped with Perl. And last but not least, writing Perl code is just plain fun. Few, if any programming languages are more portable as Perl has been ported to everything from Microsoft Windows to IBM AIX. We Linux Systems Administrators are, at least philosophically, indebted to Larry Wall, Randall Schwartz, Nathan Torkington and many others for their profound contributions to the Open Source software arena in the form of Perl.