Actually the point has not escaped me at all. I understand what they do, how they work, and why you might like them. However I have the knowledge and experience to recognize how using this approach limits you and causes you worse problems in the long run than the ones that you are avoiding.

You are free to disregard that knowledge and experience. But I think that in so doing you've missed a valuable learning opportunity. I apparently wasted my time in trying to educate you about fundamental software development concepts that let you see the larger picture.

It is obvious how convenient it is to type one line less now. You see that and think your modules are wonderful. It is much less obvious that they will lead to longer debugging sessions 3 months down the road. It is very far from obvious that we spend more time and energy debugging code than we do developing it, so it pays off in the long run to focus on coding in ways that avoids creating problems that need to be debugged, and ones which will make debugging faster when you have to do it.

Someday you may learn that lesson. But obviously that won't be today.


In reply to Re^5: RFC: Some of my toolkit modules by tilly
in thread RFC: Some of my toolkit modules by bennymack

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.