With all due respect, gildir, I think you might be missing the point.

I work as a programmer and have used many, many languages in my various jobs: C/C++, ksh, perl, Objective C, awk, Java, PL/SQL, and on and on and on. And on.

Perl is one of the tools in my toolbox. Granted, it's my favorite tool, and often the best tool. However, it is not the best tool in every case. I like Java because it lets me write code in OS X that can be used anywhere. I like Objective C because it is what C++ should be. C and C++ are great because the compiled code will run so quickly without the source code being as grungy as assembler. Yesterday, in a shell script that I inherited, I used sed for a 's///g' in a long string of pipes.

Now, having said that, I have to emphasize that my instinct is to reach for Perl. A lot of what I do is parsing text; enough said. Oneof the nice things about Perl is that it is object oriented, but it doesn't have to be. I write a lot of quickie scripts that just need to work, so forcing OO would be like tying a school bus to the back of a horsecart.

A Perl geek may not be pushed to OO. This is not necessarily a bad thing, as a lot of us would consider it a dashed liberty if we were. However, it is there if we need it, and it can provide a good introduction to OO. To me, that is one of the beautiful things about Perl. The decision is left to the programmer, so we can adapt to the situation.

(Puts soapbox away, crawls back into hole.)

--
tbone1
Ain't enough 'O's in 'stoopid' to describe that guy.
- Dave "the King" Wilson


In reply to Re: Make Perl an OO language by tbone1
in thread Make Perl an OO language by gildir

Title:
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, details, 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, summary, 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.