...and we are both australian... i wonder what that means? ;-)

indeed, i had seen Class::Contract, and while in the desired direction, syntactically, it's a little ugly and deviates too much from my colleague's styles for me to force them to submit to the same style when they use some of my code.

i don't think i'll be completely satisfied until we see what comes of the RFC's for perl6. the repeated calls for more and tighter OO support is sure encouraging... combine this with an OOP-tailored enhanced version of pod a la javadoc for the ultimate in perl API auto-documentation and the world is ours.

it would be a massive victory for the Perl way if one will be able to code OOP in perl as strictly as java (ie with strong typing, exceptions and so forth) with the simple addition of some object pragma -- and then to turn around and write a 10 line text filter to clean up some windows-turkey's excel spreadsheet....... ;-)

thanks for the reply,
j.a.dirty.p.h


In reply to RE: RE: RE: Can perl be anything like Java? by d_i_r_t_y
in thread Can perl be anything like Java? by pos

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.