Solved

PERL programming language.

Posted on 2013-12-23
7
315 Views
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?

Thanks
0
Comment
Question by:jskfan
7 Comments
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 200 total points
Comment Utility
Yes to all.  Most Linux distributions come with Perl.  On Windows, I use ActivePerl http://www.activestate.com/activeperl which has versions for many OS's.  The "Community Edition" is free.
0
 

Author Comment

by:jskfan
Comment Utility
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 ?
0
 
LVL 84

Assisted Solution

by:ozo
ozo earned 100 total points
Comment Utility
Yes, if you do not use any windows 7 specific or Linux specific features.
see
perldoc perlport
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 200 total points
Comment Utility
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.
0
 
LVL 26

Assisted Solution

by:wilcoxon
wilcoxon earned 100 total points
Comment Utility
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).
0
 
LVL 21

Accepted Solution

by:
Mazdajai earned 100 total points
Comment Utility
-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.
0
 

Author Closing Comment

by:jskfan
Comment Utility
Thank you
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
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 …
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now