PERL programming language.

Posted on 2013-12-23
Last Modified: 2013-12-24
PERL programming language.

I would like to know in which area of programming is PERL used.for instance:

-is it used in Linux scripting ?
-is it used to write queries against Oracl/SQL/Mysql databases?
-is it used in Web Application Development ?
-is the programming software free to download and use?

Question by:jskfan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 200 total points
ID: 39736937
Yes to all.  Most Linux distributions come with Perl.  On Windows, I use ActivePerl which has versions for many OS's.  The "Community Edition" is free.

Author Comment

ID: 39736963
If you install Activeperl on windows 7, then will you be able to write a script that can be understood by Linux and windows? Or you will have to write 2 different scripts ?
LVL 84

Assisted Solution

ozo earned 100 total points
ID: 39736974
Yes, if you do not use any windows 7 specific or Linux specific features.
perldoc perlport
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 200 total points
ID: 39736981
I have been able to use my few Perl scripts on both Windows and Linux.  However... the Perl repository, CPAN, has over 25,000 modules available so you need to use some care in how your write your Perl scripts.  In addition, you sometimes have to change the line at the top that tells Linux/Unix where to find the Perl interpreter because not all distributions do that the same.  So the answer is that they can be 'mostly' the same.
LVL 26

Assisted Solution

wilcoxon earned 100 total points
ID: 39737357
Most scripts will work equally well on Linux and Windows without changes.  The biggest hurdle I've run into is anything that depends on IO::Tty will not work on Windows (a lesser hurdle is anything in the Win32 namespace won't work on *nix).
LVL 21

Accepted Solution

Mazdajai earned 100 total points
ID: 39738342
-is it used in Web Application Development ?

Perl can satisfy all requirement, but you need to provide a scope of the above as there might be a better alternative.

Author Closing Comment

ID: 39738757
Thank you

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question