I think you're both talking past each other here. What I believe he's trying to emphasize may be that while with perl you've got this:

#!/usr/bin/perl print "Hello, world\n";

In Java you're going to have to break out:

public class HelloWorld { public static void main( String args[] ) { System.out.println( "Hello, world\n" ); } }

Perl makes it dead simple to whip out call-this-call-this-call-this-boom-done style code, whereas to get the same thing in Java you've got to write a whole lot more overhead explicitly (i.e. you'd have a whole lot of static methods in some class rather than just a couple of subs hiding at the bottom of your quick, declarative Perl).

Update: Upon reflection, that's probably not what they mean by OO only. Maybe someone's thinking "pure OO", but then Java's not (c.f. int and other primitive, non-object types). Never mind me.

But maybe my last paragraph will be of some use to the OP.

Or not. Meh.


In reply to Re^5: A Perl vs. Java fight brews by Fletch
in thread A Perl vs. Java fight brews by Moron

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.