I chose to learn Perl, because I already knew JavaScript and HTML/CSS. And I wanted to learn a server-side scripting language that is well known, well established and plenty of free documentation exists online. I also learned that all Linux computers have perl, which means if I learn this language, I will be able to write programs for Linux. That was my other goal. I want to transition from using Windows to Linux, and I saw that learning perl is the best option. It's like killing two birds with one stone. I'll not only learn a server-side scripting language, but I will also learn how to program Linux. Perfect combination. It's a well-established language, very well known and if the language has any bugs, they are already figured out by now.

Choosing between Perl and Python would be very easy for me. I don't like the way Python programs look like with all those indentations and missing opening/closing brackets. That is just creepy. Most servers do not offer Python scripting, but they most all support Perl, because as I said, perl is well established and well known.

For me, the big decision was going with PHP or Perl. PHP is faster and very well-known and very popular. PHP has a lot of advantages over other languages. The #1 thing I do not like about PHP is that PHP code has to reside within HTML files, which are usually already packed with JavaScript/CSS and other stuff. So, if we add PHP into the mix, the files are going to look like total chaos. I also had a hard time testing PHP programs, because I had to upload my php scripts to the web server before I could see them run. It was very inefficient and just a pain. I could not see myself enjoying PHP programming.

Computer programming and webdesign are my hobbies, so this isn't my main job or career. If you want to be a computer programmer or webdesigner, you should learn ALL languages -- Perl, PHP, Go, Ruby, C#, C++, assembly, HTML/CSS, Java, JavaScript, BASIC, R, and everything. You won't be able to compete in today's market if you only know a fraction of what everybody else knows!

In reply to Re: Is it worth knowing Perl? Real-life examples please by Anonymous Monk
in thread Is it worth knowing Perl? Real-life examples please by Anonymous Monk

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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:
    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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.