That's simply using an object oriented interface to a module. But to answer your question, modules can be viewed as language extensions. They use existing language syntax combined with their own documented interface. For more complex modules, learning the module's interface can be a lot like learning a sub-language.

Many of us here speak English, but many of us would be lost if we were asked to discuss a medical proceedure in medical terms. The medical terms are a subset of English (often based on Latin roots, etc.), but they happen to be a subset for which people outside of the medical industry are not proficient.

A new module can be a little like a medical journal that uses an unfamiliar subset of our familiar English language. You'll have to familiarize yourself with its terms (its user interface) before you'll be able to make sense of it. Fortunately, we don't need a degree in medicine to understand most modules' documentation...with the exception of modules written by TheDamian. ;)


Dave


In reply to Re: modules = minilanguages? by davido
in thread modules = minilanguages? by Anonymous Monk

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.