Anthanasius,

Thank you for the reply and good info. This is making quite alot more sense to me now. I've been using perl for years, but more for system calls and what not, like one would use shell.

I see now where I was looking at the sub-classes backwards. I've got a really good book titled "Advanced Perl Programming" by Sriram Srinivasan. I spent the day reading through this and reflecting on your comments.

My ultimate goal is this a easy to use Active Directory API that abstracts Net::LDAP, which I think I've done a fairly good job at doing from a OOP standpoint. I was just looking at the sub-classes incorrectly. I'm rethinking my design now so that the sub-class methods properly inherit functionality from the parent class. One of the things I want to be able to do is to have methods in my parent class that do things like listing Active Directory objects, by object type (i.e., DNS, Users, Groups). I then would have methods in my child class that would be called directly to list the type of objects you are after, causing the method in the parent class to morph to list the requested AD objects called by the method in the child class. I think I'm now there.

In reply to Re^4: Method of child module called by parent by gzartman
in thread Method of child module called by parent by gzartman

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.