Thankyou all for the comprehensive replies.
An especial thanks to fever, something really 'clicked' while reading that note.

The overall impression I get is that, "well its OK, but you probably dont want to". Thats fine, Im happy to keep playing around with it while looking for alternatives. My biggest problem was that there is not many places it would be considered acceptable to ask such a question, so it was slowly doing my head in!
I genuinely appreciate such esteemed monks took the time to entertain my musings.
To respond to a couple of monks:

markM and adrianh:

reblessing an object into a different package? A whole new avenue of perversion !
This could actually be what Im looking for. Each object shares the same abstract base-class and my hope is that the base-class will support the freeform structure above. The idea of changing states seems to sit well with my "perspectives".


Yes, you are right. I think the term perspective I am using is, in most cases, the perspective of what the program does and a logical heirarchy can be organised. I have found object orientation to be a great organiser, but the program that raised the above question was dileberately being awkward, mostly for my own learning.


It sounds like you're thinking of writing a self-evolving program which can change its own objects as it likes... Fun..

Well, it beats staring at the TV ;)


To restate the obvious - this place rocks!


In reply to Re: perspective and object-disorientation by Ctrl-z
in thread perspective and object-disorientation by Ctrl-z

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.