hello friends ,

I want to learn perl or python. which one is powerfull and where to start

Dani AI

Generated

A practical way to decide is to match the language to the kind of work you want to do, then learn by building a small, useful project. Earlier replies from , and reflect different experiences; use those viewpoints as anecdotal input, not a rule. The fastest way to make progress is pick one language, finish a tiny project, then iterate.

If your goals are data analysis, machine learning, or modern web back ends, start with the current Python 3 toolchain: install Python 3, create an isolated environment (venv), use the REPL, and pick a beginner project (CSV/JSON processing, a small web API, or a scraper). Learn package installation, a style guide and a linter so your code remains readable as it grows.

If you plan to write short utilities, glue scripts, or maintain older scripts on servers, start by learning Perl basics that affect real scripts: scalars/arrays/hashes, context, and regular expressions. Practice with command-line one-liners and small file-processing scripts. Learn how to read the built-in docs and how to add third-party modules when you need them. Tools exist to manage multiple language versions if you need to work with older code.

A good technique: implement the same small task in both languages (for example, parse logs, summarize counts, and write output) to learn idioms and trade-offs. Focus on producing readable, testable code and on completing a real job — that will teach more than isolated exercises.

Recommended Answers

All 4 Replies

They are both powerful. I personally like perl because of CPAN which provides many many modules and functions you don't have to write yourself. Get a copy of "Learning Perl" and start there. That's what I did 15 years ago.

Yes, I am agree take the copy of Learning Perl.I also want give some idea about Perl.
Perl stands for Practical Extraction and Report Language.It is a general programming language can be used with any other programming language. Perl is very good for doing certain things. Who would not normally develop a user interface in Perl, it would be much easier to use a language like Visual Basic to do so. This makes it an excellent choice to handle HTML files.

thnxx a lot

Learn both. Python is a breeze to learn, once you get used to the significant whitespace (I had horrible flashbacks to vicous and invisible bugs in makefiles, but it's actually okay). Perl is obnoxious and lovely and lots of fun. Python scales up better - you do't really hear about applications written in perl - but once you know perl, lot of small to mid-sized problems are very easy in it.

I don't really have my feet under me in python yet, but what I've done has been very enjoyable, but I still enjoy perl's twisted logic. Both languages have a sense of humor (not just in the documentation, but in the design) that appeals to me.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.