Although scripts might potentially be useful to people as-is, it is far more likely that a generic version of the key algorithm(s) you are offering in the form of a module will help other people.
For example, a script that takes two arrays of numbers as I/O input and returns the correlation co-efficient is not as useful as a (callable) module to do the same. This is because, unlike a script, such a module can be reused hundreds of times in sequence or parallel without resorting to a relatively slow I/O interface nor the repeated spawning of a pair of shell and perl processes.
Furthermore, the use of an object-oriented interface permits the use of inheritance so that people can customise outside the box, without having to edit your script. In this way your contribution, if "sexy" enough, would grow in its influence.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.