in reply to requiremens for CPAN scripts?
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.
One world, one people
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: requiremens for CPAN scripts?
by perl-diddler (Chaplain) on Apr 07, 2011 at 19:05 UTC | |
by anonymized user 468275 (Curate) on Apr 08, 2011 at 10:01 UTC |