Just another Perl shrine | |
PerlMonks |
Re: I want you to convince me to learn Perlby HelenCr (Monk) |
on Sep 25, 2013 at 05:38 UTC ( [id://1055610]=note: print w/replies, xml ) | Need Help?? |
Perl was invented and designed by a philologist (an expert in human spoken languages) - Larry Wall. This entails, that once you grasp and understand the Perl spirit and internal logic, the entire language "makes sense", you realize that its design is clean and logical, and it's fun and easy to develop in it. An example of the philological influence: human languages have inflections. (In English, for example, nouns are inflected according to single or plural; verbs get inflected according to tense (past, present or future) etc. In Perl, the parallel is the "sigil" system: the little sign: [$, @, %] you put in front of the variable. It signifies the "context". So for example, if "Array" is an array, then normally you will refer to it as: "@Array", but when you refer to an array member, you have to state: "$Array[$i]". Logic of similar power governs the referencing/ dereferencing system. You don't have these in Python - therefore, it less fun to write, and more error-prone when engaging in heavy and complex programming.
In Section
Seekers of Perl Wisdom
|
|