answersLogoWhite

0

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

15y ago

What else can I help you with?

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 [email protected] 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.


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 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


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.


Is there a way to get user input besides the command line in Perl?

Are you looking specifically for a Perl answer, or a general answer? Most shell environments can do this as well, use the 'read' command.


Can you have PHP and PERL running on the same server and on the same website?

Yes, it is very easy to run PHP and Perl together on the same server, and even the same website. However, if you intend to use multiple applications written in different scripting languages, but have the potential for your site to eventually need complete integration, it is advisable to use applications written in only one scripting language.


Are scripting language widely used to add dynamic content to webpages?

There are PHP, Coldfusion, Ruby, Python or Perl to think of the most common ones.


What is the best scripting language?

This depends on your definition of best and the environment you need to support. Best to me means simple, powerful syntax. The environments are broadly: Internet Applications, General-Purpose Applications, Special-Purpose Applications. 1. For server-side scripting in the *NIX environment, it is difficult to beat the power of Perl. It combines the familiarity of C-syntax and the power of AWK. Very short programs can produce very comprehensive results. Perl was originally designed for processing text files. With the extensions that have been added as Perl developed, combined with the CPAN archives, this has extended Perl to almost all storage and presentation formats. PHP has become a more popular alternative in the past 10 years. It borrows heavily from Perl and other languages, as Perl did. Perl is a preferred choice, in my opinion. Server-side scripting involves using the scripts to generate other code that your browser receives for final execution. In essence this is a two-pass process. 2. For client-side scripting JavaScript is the most widely supported. It is an incredibly flexible language. You can easily chain several results together. There are many alternatives that are gaining significant numbers of users. Ruby and Python are the most notable. JavaScript is very powerful, once the simple syntax are mastered. 3. For scripting that is not part of an Internet application, Perl is available in *NIX, Windows, and many other environments. If your application is Windows-only, C# is evolving to be a preferred language for many. In my experience it has a way to go to be as easy to use and reliable as it is intended to be. 4. For special, often more technical, applications you are best advised to look at special-purpose languages. Some of these can save you a lot of time over more general purpose scripting languages. For example, Haskell for functional programming. Perl 6 is using this to develop the Perl 6 compiler. A good, open-source editor to explore a lot of these scripting languages, is Komodo from Activestate. They support dozens of languages with code highlighting and syntax checking. It is free. They keep it very fresh with frequent updates. It includes extension creation tools 'a la' Firefox, and a library of user contributions. If you get into participating in open source projects as a contributor, you may want to look into the Eclipse SDK for expanded scope.


What is an example shell script to print a certain range of lines of a file?

This can be done any number of ways in the Unix operating system. Using 'sed', you can use the address range to limit what you are printing, such as: sed -e '1,5p' < filename To just list lines 1 - 5 of a file, or the AWK or Perl scripting languages to do the same type of thing.


What are the applications of the PERL programming Language?

Perl is widely used for text processing, system administration, and web development due to its powerful regular expression capabilities and flexibility. It is often employed in CGI scripting, data manipulation, and automation tasks. Additionally, Perl finds applications in bioinformatics, network programming, and database interaction, making it a versatile tool for various programming needs. Its CPAN (Comprehensive Perl Archive Network) repository further enhances its utility by providing a wealth of pre-written modules.


Shell script that counts the no of lines and words in a file without using wc command?

A shell script by itself would be a fairly poor way of doing this; using something like awk or perl with a pattern match for a word would be a much better choice. There are many examples on the net for this type of process using perl, for example.


What experience does a web developer need?

You need to experience how to develop a simple webpage with some functionalities. In doing this, you need to learn some programming and scripting languages. You also have to learn how to use a database and how to connect it to a webpage. I suggest you start reading ebooks about programming/scripting languages and about some good database. Below are some examples. Programming / Scripting Languages: =PHP =JavaScript =CGI-Perl =HTML Database: =PostgreSQL =MySQL