Greetings Monks,

Hypothetically speaking, of course, if a lowly perl user had written a large and unwieldy program that was more than likely far clunkier than it needed to be, where could I, err, I mean he, go to ask for help in refactoring/improving/tightening/increasing the speed and efficiency of the program?

Is that just a matter of asking for help from willing monks, or is there instead a forum/online work-group willing to help out with that?

I've got a program I've been writing that's about 35 subroutines, maybe 1k lines of code, with another 1k of comments, and at this point, I'm finished debugging all but about 5 of the subs. There are areas of the program where I am sure I did things the hard way, or at least, not the quick or efficient way.

I'm self-taught in perl, with only what I've learned here and in the perldocs, and I don't do any programming outside of this one script, so I've never ventured into the realms of mapping, transposing, TIEs, or anything more than intro-level stuff.

Any advice or guidance would be greatly appreciated.

Thanks,
Matt


In reply to Refactoring a large script by mdunnbass

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.