Do we really need this sort of stuff at PerlMonks?

Yes. Merlyn makes a valid point: this is an odd thing to want to do (certainly I've never encountered a use for it). It seems to be a means to some end, rather than an end in itself, so it's reasonable to ask what that end is; there's a good chance that other people have already achieved that in some other way, which perhaps would be of more benefit to the original poster.

Actually, it isn't only reasonable of Merlyn to ask this, but it's helpful for him to do so. Nobody else had asked. And if it turns out there is a better approach for this task, the original poster benefits. Showing him a 'better' way of coding a duff approach only re-inforces that approach.

What PerlMonks needs is more people taking a step back and looking at the bigger picture.

Smylers


In reply to Re^3: "cleaning out" object data by Smylers
in thread "cleaning out" object data by Forsaken

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.