That’s easy: look at both!
Python, despite its very peculiar use of indentation as a lexical property of the source-code (“white space is meaningful!”), is a very powerful list-processing language with many inspirations and similarities to LISP ... without those Little Irritating Silly Parentheses. Perl, on the other hand, has a marvelous way with text files. Both are workhorses, and general-purpose. Both can be used to do the others’s work, but both have their own unique comparative strengths, and since both are equally at-hand . . .
In reality, you’ll find yourself using several different scripting languages, and production systems quite-commonly contain an oddly-fitting hodgepodge of them. Therefore, I would suggest that you split your attention between these two. Maybe you’ll trend toward a favorite, or maybe not. I never drew favorites ... This breadth of knowledge will surely help you when you peel-the-onion of a new system and look at how they built it and say . . . :-O !!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||