Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I heavily recommend Googling this for a few days - people have been shot for asking this question. *just joking*
One of the problems with your question, though, is that advantages and disadvantages are subjective to each person. Mine are as follows:
+Python: Uniform syntax
+Python: Easy
+Python: Relatively large library support
-Python: Makes you lazy
-Python: Due to its easy syntax, you may find you want to kill yourself to alleviate the boredom
+Perl: Wickedly powerful when it comes to parsing data
+Perl: Largest library support of any language (that is not C or C++)
-Perl: The syntax is the antithesis to Python's syntax uniformity
-Perl: Reading other people's code can make a root canal seem pleasant (read: next to no syntax uniformity)
Both are used equally as much. If you want empirical data, though, look at SourceForge and FreshMeat, and get a count of how many of these projects use Perl, and how many use Python.
Why is this a useful question; not which is better for a particular job, but which is more popular.
My feeling is that if you try both, you'll probably find that you like one and hate the other (more or less). Would that solve your problem for you, or is there something specific that you want to know?
Basically perl is a beast. But for a beginner its always better to think abt python, it is in no way weaker than perl. If you are planning to develop an attitude towards coding in linux then I will suggest you to go for python. Coz perl may coz you to run away from that intrest lol
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.