While I agree with you on the issue of who should be using it (semi-skilled administrators would be better, unless mom or pop gets into Perl), I don't think the code should be thrown out. I'm with Joel Spokain (sp?) about code refactorisation. From my own quick skim through the code, there's nothing there that is wrong, just a few things that could be done more neatly.

Also, flexibility is desirable in code design, but it's not everything. There's nothing wrong with making a program that does one thing well, but is difficult to adapt. As long as it fills your purpose, it's OK. And since it's open source it should be easy to port the database to abother product, should the time ever come.

The really important point is that someone actually did the work, and released the code. After that, anyone who feels that the code lacks something can walk in and improve it. In fact, by open source community tradition, you just volunteered to implement the changes you suggested :)

Getting back to the point, I have in the past, had to go back through and refactor my own code to remove HTML. It's a big task, and boring, but I'm glad I did it that way, rather than throw out the code.

____________________
Jeremy
I didn't believe in evil until I dated it.


In reply to Re: Re: Perlshop-z Perl Shopping Cart by jepri
in thread Perlshop-z Perl Shopping Cart by zentara

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.