Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Very good attitude.

Once you go over the learning curve, this is all going to make so much sense to you that you'll be jumping up and down throwing confetti at random strangers and nobody will understand... but that's ok.. we understand.

It will not take long to get it, and seriously- it will be a blast. You can still have very intricate ways of associating and storing data but you can have an incredibly simple way to get to it.

With OO, you think of the modules (classes) as blue prints, as instructions on how to build something. And objects are the thing made, the houses built from the blue print, alive- and this only happens when you 'instance' (new) from a module(class).

You have your architect's plan, and you build from it 5 houses, they all have different addresses and people inside them, but you only needed one plan.

Anywho, forget everything I said and try it out. You can get an example working and understood in a few hours. After that you will think you 'got it'- and then a few days later you'll start to more honestly get it. This is what I went through.

Do you have the OReilly Porgramming Perl book? You should have a copy, you can get it off amazon for 10 bucks. You'll need it- it's very handy.

This is (un?)fortunately going to be an adventure, learning OO. There is no one place to 'learn' it. You will have to scavenge various sources, from each place you will attain a new facet of understanding. And you will have to experiment endlessly- which you will probably do out of sheer curiosity if not out of need.

Search the turorials section, there's really some very good stuff in there.

Most important, do not get discouraged if it's weird. Don't give up on the concepts until you can tell yourself you really understand what the idea of oo is.

I love good ol bash and straight empirical(is it?) functional programming - but for complicated stuff with thousands of lines of code...screw that! I need pOOp. (sorry... it's Friday...)

(Please excuse the very loose non technical language in this post).

In reply to Re^3: Data Structures by leocharre
in thread Data Structures by YYCseismic

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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (3)
    As of 2021-04-20 04:29 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found